We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a15fa0 commit 46a36a4Copy full SHA for 46a36a4
1 file changed
src/stdgpu/CMakeLists.txt
@@ -132,6 +132,8 @@ target_compile_features(stdgpu PUBLIC cxx_std_17)
132
target_compile_options(stdgpu PRIVATE ${STDGPU_DEVICE_FLAGS}
133
${STDGPU_HOST_FLAGS})
134
135
+target_compile_definitions(stdgpu PUBLIC $<$<CXX_COMPILER_ID:MSVC>:NOMINMAX>)
136
+
137
target_link_libraries(stdgpu PUBLIC thrust::thrust)
138
139
set_target_properties(stdgpu PROPERTIES CXX_CLANG_TIDY "${STDGPU_PROPERTY_CLANG_TIDY}")
0 commit comments