Skip to content

Commit

Permalink
ENH: Set CudaCommon version in the exported CMake code
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Rit committed Dec 19, 2024
1 parent 792d00e commit 9e356cf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9e356cf

Please sign in to comment.