When test cases are build, disable "make install", because this would also install gtest libraries.

This commit is contained in:
Sebastian Messmer 2016-02-14 17:01:24 +01:00
parent e44c44334f
commit b84c8d63fd

View File

@ -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)