summaryrefslogtreecommitdiffstats
path: root/cmake/Modules/GTestImport.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Modules/GTestImport.cmake')
-rw-r--r--cmake/Modules/GTestImport.cmake7
1 files changed, 6 insertions, 1 deletions
diff --git a/cmake/Modules/GTestImport.cmake b/cmake/Modules/GTestImport.cmake
index 4e2e18dc9..d9d182578 100644
--- a/cmake/Modules/GTestImport.cmake
+++ b/cmake/Modules/GTestImport.cmake
@@ -18,6 +18,11 @@ include(ExternalProject)
ExternalProject_Add(gtest
URL https://github.com/google/googletest/archive/v1.10.x.zip
PREFIX ${CMAKE_BINARY_DIR}/gtest
+ BUILD_BYPRODUCTS
+ ${CMAKE_BINARY_DIR}/gtest/src/gtest-build/lib/libgmock_main.a
+ ${CMAKE_BINARY_DIR}/gtest/src/gtest-build/lib/libgmock.a
+ ${CMAKE_BINARY_DIR}/gtest/src/gtest-build/lib/libgtest_main.a
+ ${CMAKE_BINARY_DIR}/gtest/src/gtest-build/lib/libgtest.a
INSTALL_COMMAND ""
)
@@ -37,4 +42,4 @@ macro(add_test_internal test)
endif()
endmacro(add_test_internal)
-enable_testing() \ No newline at end of file
+enable_testing()