We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 77d1d28 + db99cdf commit f9b94feCopy full SHA for f9b94fe
1 file changed
src/CMakeLists.txt
@@ -49,6 +49,9 @@ target_link_libraries(popsift
49
set_target_properties(popsift PROPERTIES VERSION ${PROJECT_VERSION})
50
set_target_properties(popsift PROPERTIES DEBUG_POSTFIX "d")
51
set_target_properties(popsift PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
52
+if(MSVC)
53
+ target_compile_options(popsift PRIVATE $<$<COMPILE_LANGUAGE:CUDA>:-Xcompiler=/Zc:preprocessor>)
54
+endif()
55
56
# build directory containing the automatically generated files
57
set(popsift_generated_dir "${CMAKE_CURRENT_BINARY_DIR}/generated")
0 commit comments