summaryrefslogtreecommitdiff
path: root/sci-ml/FP16/files/FP16-2024.06.20-gentoo.patch
blob: c5ab4e0468277d79218c2c417159cb1858e06052 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/CMakeLists.txt	2022-05-10 09:11:41.286417033 +0200
+++ b/CMakeLists.txt	2022-05-10 09:12:48.647398387 +0200
@@ -19,7 +19,7 @@
 ENDIF()
 
 # ---[ Download deps
-IF(FP16_BUILD_TESTS AND NOT DEFINED GOOGLETEST_SOURCE_DIR)
+IF(FALSE)
   MESSAGE(STATUS "Downloading Google Test to ${CMAKE_BINARY_DIR}/googletest-source (define GOOGLETEST_SOURCE_DIR to avoid it)")
   CONFIGURE_FILE(cmake/DownloadGoogleTest.cmake "${CMAKE_BINARY_DIR}/googletest-download/CMakeLists.txt")
   EXECUTE_PROCESS(COMMAND "${CMAKE_COMMAND}" -G "${CMAKE_GENERATOR}" .
@@ -60,9 +60,6 @@
   # ---[ Build google test
   IF(NOT TARGET gtest)
     SET(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
-    ADD_SUBDIRECTORY(
-      "${GOOGLETEST_SOURCE_DIR}"
-      "${CMAKE_BINARY_DIR}/googletest")
   ENDIF()
 
   # ---[ Build FP16 unit tests