Look for nvcc in the 32 bit bin directory before the 64 bin directory.
This commit is contained in:
parent
134d8dee1e
commit
9605af8c2e
|
@ -469,8 +469,8 @@ endif (NOT CUDA_TOOLKIT_ROOT_DIR)
|
||||||
# CUDA_NVCC_EXECUTABLE
|
# CUDA_NVCC_EXECUTABLE
|
||||||
find_program(CUDA_NVCC_EXECUTABLE
|
find_program(CUDA_NVCC_EXECUTABLE
|
||||||
NAMES nvcc
|
NAMES nvcc
|
||||||
PATHS "${CUDA_TOOLKIT_ROOT_DIR}/bin64"
|
PATHS "${CUDA_TOOLKIT_ROOT_DIR}/bin"
|
||||||
"${CUDA_TOOLKIT_ROOT_DIR}/bin"
|
"${CUDA_TOOLKIT_ROOT_DIR}/bin64"
|
||||||
ENV CUDA_BIN_PATH
|
ENV CUDA_BIN_PATH
|
||||||
NO_DEFAULT_PATH
|
NO_DEFAULT_PATH
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue