Skip to content

Commit

Permalink
CMakeLists.txt: fix linker flags
Browse files Browse the repository at this point in the history
  • Loading branch information
WolframRhodium committed Nov 23, 2023
1 parent 31c81ca commit 1aa31af
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 @@ -131,7 +131,7 @@ if(ENABLE_CUDA)
target_include_directories(dfttest2_nvrtc PRIVATE ${CMAKE_CURRENT_BINARY_DIR})

if (WIN32)
target_link_options(dfttest2_cuda PRIVATE "delayimp.lib")
target_link_options(dfttest2_cuda PRIVATE "delayimp.lib" ${CMAKE_SHARED_LINKER_FLAGS})
endif()
endif() # ENABLE_CUDA

Expand Down

0 comments on commit 1aa31af

Please sign in to comment.