summaryrefslogtreecommitdiffstats
path: root/Modules/FindCUDA.cmake
diff options
context:
space:
mode:
authorJames Bigler <jbigler@nvidia.com>2009-10-27 16:00:28 (GMT)
committerJames Bigler <jbigler@nvidia.com>2009-10-27 16:00:28 (GMT)
commit9605af8c2ef280b7f0704d3bcb3bc980739ca073 (patch)
tree3e22131f4f8138c64ecdcbb65978758c5c35ebc1 /Modules/FindCUDA.cmake
parent134d8dee1e3e5258eefd88e1a9f28e3cf16d09cc (diff)
downloadCMake-9605af8c2ef280b7f0704d3bcb3bc980739ca073.zip
CMake-9605af8c2ef280b7f0704d3bcb3bc980739ca073.tar.gz
CMake-9605af8c2ef280b7f0704d3bcb3bc980739ca073.tar.bz2
Look for nvcc in the 32 bit bin directory before the 64 bin directory.
Diffstat (limited to 'Modules/FindCUDA.cmake')
-rw-r--r--Modules/FindCUDA.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindCUDA.cmake b/Modules/FindCUDA.cmake
index 34fcb97..6c51298 100644
--- a/Modules/FindCUDA.cmake
+++ b/Modules/FindCUDA.cmake
@@ -469,8 +469,8 @@ endif (NOT CUDA_TOOLKIT_ROOT_DIR)
# CUDA_NVCC_EXECUTABLE
find_program(CUDA_NVCC_EXECUTABLE
NAMES nvcc
- PATHS "${CUDA_TOOLKIT_ROOT_DIR}/bin64"
- "${CUDA_TOOLKIT_ROOT_DIR}/bin"
+ PATHS "${CUDA_TOOLKIT_ROOT_DIR}/bin"
+ "${CUDA_TOOLKIT_ROOT_DIR}/bin64"
ENV CUDA_BIN_PATH
NO_DEFAULT_PATH
)