Add TRIGDX prefix to CMake configurable options
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user