Skip to content

Commit

Permalink
Fixed small codestyle and cmake imperfections
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Barbone committed May 8, 2024
1 parent 1dd8b5c commit e2dee3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function(finufft_link_test target)
target_compile_definitions(${target} PRIVATE FINUFFT_DLL)
endif()
endif()
target_link_libraries(${target} PUBLIC finufft)
target_link_libraries(${target} PRIVATE finufft)
enable_asan(${target})
endfunction()

Expand Down Expand Up @@ -167,6 +167,7 @@ if(FINUFFT_USE_CPU)
target_compile_definitions(finufft_f64 PRIVATE)
set_finufft_options(finufft_f64)
target_link_libraries(finufft_f64 PUBLIC ${FINUFFT_FFTW_LIBRARIES})

if(WIN32)
add_library(finufft_f32_dll OBJECT ${FINUFFT_PRECISION_DEPENDENT_SOURCES})
target_compile_definitions(finufft_f32_dll PRIVATE SINGLE dll_EXPORTS FINUFFT_DLL)
Expand Down
2 changes: 1 addition & 1 deletion devel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ if (benchmark_ADDED)
endif()

add_executable(foldrescale foldrescale.cpp)
target_link_libraries(foldrescale finufft benchmark)
target_link_libraries(foldrescale finufft benchmark)

0 comments on commit e2dee3c

Please sign in to comment.