Don't install googletest and googlemock
authorrdb <git@rdb.name>
Wed, 7 Jun 2017 10:14:31 +0000 (12:14 +0200)
committerLei Zhang <antiagainst@google.com>
Wed, 7 Jun 2017 14:32:45 +0000 (10:32 -0400)
external/CMakeLists.txt

index ba5207f..e710ddd 100644 (file)
@@ -40,7 +40,7 @@ if (NOT ${SPIRV_SKIP_EXECUTABLES})
           "Use shared (DLL) run-time lib even when Google Test is built as static lib."
           ON)
       endif()
-      add_subdirectory(${GMOCK_DIR})
+      add_subdirectory(${GMOCK_DIR} EXCLUDE_FROM_ALL)
     endif()
   endif()
   if (TARGET gmock)