diff --git a/CMakeLists.txt b/CMakeLists.txt index 62ce73a..4de9932 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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