cmake: Prevent gtest from installing its files
This commit is contained in:
parent
5058d07861
commit
d096b7b378
|
@ -967,7 +967,7 @@ if(GTEST_FOUND AND USE_SHARED_GTEST)
|
|||
else()
|
||||
message(STATUS "Using static gtest from Externals")
|
||||
include_directories(Externals/gtest/include)
|
||||
add_subdirectory(Externals/gtest)
|
||||
add_subdirectory(Externals/gtest EXCLUDE_FROM_ALL)
|
||||
endif()
|
||||
|
||||
enable_testing()
|
||||
|
|
Loading…
Reference in New Issue