We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ae687d commit 7263eeeCopy full SHA for 7263eee
samples/CMakeSamplesTemplate.txt
@@ -27,7 +27,7 @@ set(TARGET_DIR ${CMAKE_CURRENT_SOURCE_DIR})
27
get_filename_component(SAMPLES_DIR ../../ ABSOLUTE)
28
get_filename_component(SAMPLE_DIR_NAME ${TARGET_DIR} NAME)
29
30
-set(CUDA_INSTALL_DIR /usr/local/cuda)
+set_ifndef(CUDA_INSTALL_DIR /usr/local/cuda)
31
32
# SAMPLES_COMMON_SOURCES
33
set(SAMPLES_COMMON_SOURCES
0 commit comments