blob: aff9c395dc117988ecc44c2826f6a3b4d07d1e6e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
- workaround for hexl's failure to find cpu_features
--- CMakeLists.txt.orig 2021-10-07 07:53:10 UTC
+++ CMakeLists.txt
@@ -137,17 +137,17 @@ message(STATUS "CMAKE_INSTALL_PREFIX: ${CMAKE_INST
#------------------------------------------------------------------------------
# Third-party code...
#------------------------------------------------------------------------------
-find_package(CpuFeatures CONFIG)
-if (NOT CpuFeatures_FOUND)
+#find_package(CpuFeatures CONFIG)
+if (FALSE AND NOT CpuFeatures_FOUND)
message(STATUS "CpuFeatures: pre-installed CpuFeatures not found")
add_subdirectory(cmake/third-party/cpu-features)
else()
- message(STATUS "CpuFeatures: found")
- add_library(cpu_features ALIAS CpuFeatures::cpu_features)
- get_target_property(
- CpuFeatures_INCLUDE_DIR
- CpuFeatures::cpu_features
- INTERFACE_INCLUDE_DIRECTORIES)
+# message(STATUS "CpuFeatures: found")
+# add_library(cpu_features ALIAS CpuFeatures::cpu_features)
+# get_target_property(
+# CpuFeatures_INCLUDE_DIR
+# CpuFeatures::cpu_features
+# INTERFACE_INCLUDE_DIRECTORIES)
endif()
if (HEXL_TESTING OR HEXL_BENCHMARK OR HEXL_DEBUG)
|