We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7c07d0 commit bb86411Copy full SHA for bb86411
1 file changed
src/stdgpu/CMakeLists.txt
@@ -185,6 +185,8 @@ install(FILES "${stdgpu_SOURCE_DIR}/cmake/Findthrust.cmake"
185
DESTINATION "${STDGPU_CMAKE_INSTALL_DIR}"
186
COMPONENT stdgpu)
187
188
-install(FILES "${stdgpu_SOURCE_DIR}/cmake/${STDGPU_BACKEND_DIRECTORY}/determine_thrust_paths.cmake"
189
- DESTINATION "${STDGPU_CMAKE_INSTALL_DIR}/${STDGPU_BACKEND_DIRECTORY}"
190
- COMPONENT stdgpu)
+if(STDGPU_BACKEND STREQUAL STDGPU_BACKEND_CUDA)
+ install(FILES "${stdgpu_SOURCE_DIR}/cmake/${STDGPU_BACKEND_DIRECTORY}/determine_thrust_paths.cmake"
+ DESTINATION "${STDGPU_CMAKE_INSTALL_DIR}/${STDGPU_BACKEND_DIRECTORY}"
191
+ COMPONENT stdgpu)
192
+endif()
0 commit comments