From 9e356cf0b66444699944853a393f2a4fa66e3089 Mon Sep 17 00:00:00 2001 From: Simon Rit Date: Thu, 19 Dec 2024 18:11:51 +0100 Subject: [PATCH] ENH: Set CudaCommon version in the exported CMake code --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d40a573..734e733 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,8 +47,9 @@ configure_file(${CudaCommon_SOURCE_DIR}/cudaCommonConfiguration.h.in list(APPEND CudaCommon_INCLUDE_DIRS ${CudaCommon_BINARY_DIR}) set(CudaCommon_EXPORT_CODE_BUILD " -# Pass source dir to allow other modules, e.g. RTK, to use CudaImage.i.init and CudaImage.i.in -set(CudaCommon_SOURCE_DIR ${CudaCommon_SOURCE_DIR}) +set(CUDACOMMON_VERSION_MAJOR ${CUDACOMMON_VERSION_MAJOR}) +set(CUDACOMMON_VERSION_MINOR ${CUDACOMMON_VERSION_MINOR}) +set(CUDACOMMON_VERSION_PATCH ${CUDACOMMON_VERSION_PATCH}) ") if(NOT ITK_SOURCE_DIR)