mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
30 lines
894 B
Diff
30 lines
894 B
Diff
--- a/test/CMakeLists.txt
|
|
+++ b/test/CMakeLists.txt
|
|
@@ -2,17 +2,6 @@
|
|
enable_testing()
|
|
|
|
|
|
-include(../cmake/DownloadProject/DownloadProject.cmake)
|
|
-#set(gtest_disable_pthreads on) #TODO(randl): Windows?
|
|
-download_project(
|
|
- PROJ googletest
|
|
- GIT_REPOSITORY https://github.com/google/googletest.git
|
|
- GIT_TAG master
|
|
- UPDATE_DISCONNECTED 1
|
|
-)
|
|
-
|
|
-add_subdirectory(${googletest_SOURCE_DIR} ${googletest_BINARY_DIR})
|
|
-
|
|
enable_testing()
|
|
|
|
# in ../googletest-src/googletest/CMakeLists.txt, BUILD_SHARED_LIBS is set to OFF
|
|
@@ -29,7 +18,7 @@
|
|
|
|
add_executable(tiny_dnn_test test.cpp test_no_duplicate_symbols.cpp)
|
|
target_link_libraries(tiny_dnn_test
|
|
- ${project_library_target_name} ${REQUIRED_LIBRARIES} gtest gmock)
|
|
+ ${project_library_target_name} ${REQUIRED_LIBRARIES})
|
|
|
|
add_test(all_tests tiny_dnn_test)
|
|
# workaround for https://gitlab.kitware.com/cmake/cmake/issues/8774
|