Add TRIGDX prefix to CMake configurable options

This commit is contained in:
Wiebe van Breukelen
2025-08-12 09:52:28 +02:00
parent fda7662148
commit d04fb8933d
4 changed files with 13 additions and 13 deletions

View File

@@ -7,17 +7,17 @@ target_link_libraries(benchmark_lookup PRIVATE trigdx)
add_executable(benchmark_lookup_avx benchmark_lookup_avx.cpp)
target_link_libraries(benchmark_lookup_avx PRIVATE trigdx)
if(USE_MKL)
if(TRIGDX_USE_MKL)
add_executable(benchmark_mkl benchmark_mkl.cpp)
target_link_libraries(benchmark_mkl PRIVATE trigdx)
endif()
if(USE_GPU)
if(TRIGDX_USE_GPU)
add_executable(benchmark_gpu benchmark_gpu.cpp)
target_link_libraries(benchmark_gpu PRIVATE trigdx gpu)
endif()
if(USE_XSIMD)
if(TRIGDX_USE_XSIMD)
add_executable(benchmark_lookup_xsimd benchmark_lookup_xsimd.cpp)
target_link_libraries(benchmark_lookup_xsimd PRIVATE trigdx)
endif()