When test cases are build, disable "make install", because this would also install gtest libraries.
This commit is contained in:
parent
e44c44334f
commit
b84c8d63fd
|
@ -1,6 +1,9 @@
|
|||
include(CTest)
|
||||
|
||||
if (BUILD_TESTING)
|
||||
# When test cases are build, disable "make install", because this would also install gtest libraries.
|
||||
macro(install)
|
||||
endmacro(install)
|
||||
add_subdirectory(gtest-1.7.0)
|
||||
|
||||
project (googletest)
|
||||
|
|
Loading…
Reference in New Issue