diff options
author | James Bigler <jbigler@nvidia.com> | 2009-10-27 16:00:28 (GMT) |
---|---|---|
committer | James Bigler <jbigler@nvidia.com> | 2009-10-27 16:00:28 (GMT) |
commit | 9605af8c2ef280b7f0704d3bcb3bc980739ca073 (patch) | |
tree | 3e22131f4f8138c64ecdcbb65978758c5c35ebc1 /Modules/FindCUDA.cmake | |
parent | 134d8dee1e3e5258eefd88e1a9f28e3cf16d09cc (diff) | |
download | CMake-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.cmake | 4 |
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 ) |