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 Apr 27, 2024
1 parent f9da0ea commit 235f6ef
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 @@ -175,7 +175,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 235f6ef

Please sign in to comment.