Skip to content

Commit

Permalink
fixing windows include issue
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamonDinoia committed Jan 23, 2025
1 parent 087d5e6 commit ae49631
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ foreach(TEST ${TESTS})
add_executable(${TEST} ${TEST}.cpp)
target_compile_features(${TEST} PRIVATE cxx_std_17)
finufft_link_test(${TEST})
target_include_directories(${TEST} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})

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

# copy the DLLs to the build directory so that the tests can find them there fix
Expand All @@ -32,6 +34,7 @@ if(FINUFFT_USE_DUCC0)
endif()
target_compile_features(testutils PRIVATE cxx_std_17)
finufft_link_test(testutils)
target_include_directories(testutils PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
add_test(
NAME run_testutils
COMMAND testutils
Expand Down

0 comments on commit ae49631

Please sign in to comment.