Skip to content

Commit 27ee0fd

Browse files
committed
Add messages printing CUDA_INCLUDE_DIRS
Signed-off-by: Lukasz Dorau <[email protected]>
1 parent f046ffd commit 27ee0fd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,11 +454,13 @@ if(UMF_BUILD_CUDA_PROVIDER AND (NOT UMF_CUDA_INCLUDE_DIR))
454454
set(CUDA_INCLUDE_DIRS
455455
${cuda-headers_SOURCE_DIR}
456456
CACHE PATH "Path to CUDA headers")
457-
message(STATUS "CUDA include directory: ${CUDA_INCLUDE_DIRS}")
457+
message(STATUS "CUDA headers fetched from gitlab.com/cudart.git:")
458+
message(STATUS " CUDA_INCLUDE_DIRS = ${CUDA_INCLUDE_DIRS}")
458459
elseif(UMF_BUILD_CUDA_PROVIDER)
459460
# Only header is needed to build UMF
460461
set(CUDA_INCLUDE_DIRS ${UMF_CUDA_INCLUDE_DIR})
461-
message(STATUS "CUDA include directory: ${CUDA_INCLUDE_DIRS}")
462+
message(STATUS "CUDA headers set to UMF_CUDA_INCLUDE_DIR:")
463+
message(STATUS " CUDA_INCLUDE_DIRS = ${CUDA_INCLUDE_DIRS}")
462464
endif()
463465

464466
# This build type check is not possible on Windows when CMAKE_BUILD_TYPE is not

0 commit comments

Comments
 (0)