Skip to content

Commit 5f02482

Browse files
committed
Allow running out-of-source
1 parent b57a9c0 commit 5f02482

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

FindCUDA.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ set(CUDA_TOOLKIT_TARGET_DIR_INTERNAL "${CUDA_TOOLKIT_TARGET_DIR}" CACHE INTERNAL
10151015
set(CUDA_SDK_ROOT_DIR_INTERNAL "${CUDA_SDK_ROOT_DIR}" CACHE INTERNAL
10161016
"This is the value of the last time CUDA_SDK_ROOT_DIR was set successfully." FORCE)
10171017

1018-
include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
1018+
include(FindPackageHandleStandardArgs)
10191019

10201020
find_package_handle_standard_args(CUDA
10211021
REQUIRED_VARS
@@ -1048,7 +1048,7 @@ endmacro()
10481048
cuda_find_helper_file(parse_cubin cmake)
10491049
cuda_find_helper_file(make2cmake cmake)
10501050
cuda_find_helper_file(run_nvcc cmake)
1051-
include("${CMAKE_CURRENT_LIST_DIR}/FindCUDA/select_compute_arch.cmake")
1051+
include(FindCUDA/select_compute_arch)
10521052

10531053
##############################################################################
10541054
# Separate the OPTIONS out from the sources

0 commit comments

Comments
 (0)