Skip to content

Commit

Permalink
Merge pull request google#46 from Maxime2/libgtest
Browse files Browse the repository at this point in the history
add a note for Ubuntu users
  • Loading branch information
nostrademons committed Sep 11, 2013
2 parents 7bc917a + 19162aa commit 0d89cd7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,15 @@ Debian and Fedora users can install libgtest with:
$ apt-get install libgtest-dev # Debian/Ubuntu
$ yum install gtest-devel # CentOS/Fedora

Note for Ubuntu users: libgtest-dev package only install source files.
You have to make libraries yourself using cmake:

$ sudo apt-get install cmake
$ cd /usr/src/gtest
$ sudo cmake CMakeLists.txt
$ sudo make
$ sudo cp *.a /usr/lib

The configure script will detect the presence of the library and use that
instead.

Expand Down

0 comments on commit 0d89cd7

Please sign in to comment.