Skip to content

Commit

Permalink
revert change to cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Barbone committed May 9, 2024
1 parent 8e25453 commit cec1946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ function(finufft_link_test target)
endif()
endif()
else()
target_link_libraries(${target} PRIVATE finufft)
if(WIN32)
target_compile_definitions(${target} PRIVATE FINUFFT_DLL)
endif()
endif()
target_link_libraries(${target} PRIVATE finufft)
enable_asan(${target})
endfunction()

Expand Down

0 comments on commit cec1946

Please sign in to comment.