diff --git a/CMakeLists.txt b/CMakeLists.txt index ff6926a57..ba6c040ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -246,6 +246,7 @@ if(NOT(GTEST_FOUND) AND DOWNLOAD_GTEST) add_subdirectory( ${CMAKE_BINARY_DIR}/googletest-src ${CMAKE_BINARY_DIR}/googletest-build + EXCLUDE_FROM_ALL ) if(MSVC)