Skip to content

Commit

Permalink
attempt to fix CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
mreineck committed Oct 28, 2024
1 parent a7a8c6c commit d746180
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions perftest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ foreach(TEST ${PERFTESTS})
if(FINUFFT_USE_DUCC0)
target_compile_definitions(${TEST} PRIVATE -DFINUFFT_USE_DUCC0)
endif()
target_link_libraries(${TEST} PRIVATE xsimd)
finufft_link_test(${TEST})

add_executable(${TEST}f ${TEST}.cpp)
target_compile_definitions(${TEST}f PRIVATE -DSINGLE)
if(FINUFFT_USE_DUCC0)
target_compile_definitions(${TEST}f PRIVATE -DFINUFFT_USE_DUCC0)
endif()
target_link_libraries(${TEST}f PRIVATE xsimd)
finufft_link_test(${TEST}f)
endforeach()

Expand Down
2 changes: 2 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ set(TESTS
foreach(TEST ${TESTS})
add_executable(${TEST} ${TEST}.cpp)
target_compile_features(${TEST} PRIVATE cxx_std_17)
target_link_libraries(${TEST} PRIVATE xsimd)
finufft_link_test(${TEST})

add_executable(${TEST}f ${TEST}.cpp)
target_compile_definitions(${TEST}f PRIVATE -DSINGLE)
target_compile_features(${TEST}f PRIVATE cxx_std_17)
target_link_libraries(${TEST}f PRIVATE xsimd)
finufft_link_test(${TEST}f)
endforeach()

Expand Down

0 comments on commit d746180

Please sign in to comment.