fix: added target_link_libraries to the if block
Browse files
hf auditor/CMakeLists.txt
CHANGED
|
@@ -100,13 +100,13 @@ target_include_directories(hft_benchmarks PRIVATE
|
|
| 100 |
${nanobind_SOURCE_DIR}/include
|
| 101 |
${Python_INCLUDE_DIRS}
|
| 102 |
)
|
| 103 |
-
endif()
|
| 104 |
|
| 105 |
# Link against benchmark_main to avoid writing a main() function
|
| 106 |
target_link_libraries(hft_benchmarks PRIVATE
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
)
|
|
|
|
|
|
| 100 |
${nanobind_SOURCE_DIR}/include
|
| 101 |
${Python_INCLUDE_DIRS}
|
| 102 |
)
|
|
|
|
| 103 |
|
| 104 |
# Link against benchmark_main to avoid writing a main() function
|
| 105 |
target_link_libraries(hft_benchmarks PRIVATE
|
| 106 |
+
benchmark::benchmark
|
| 107 |
+
benchmark::benchmark_main
|
| 108 |
+
Threads::Threads
|
| 109 |
+
Python::Python
|
| 110 |
+
nanobind-static
|
| 111 |
)
|
| 112 |
+
endif()
|