Skip to content

Commit

Permalink
ENH: Bump to ITKv5.4rc02.
Browse files Browse the repository at this point in the history
This includes enabling shared libraries in itk-module.cmake, updating setup.py as well as CI scripts, and addressing CMP0135 warning.
  • Loading branch information
aylward authored Dec 17, 2023
1 parent 070fef6 commit a3bdf29
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ on: [push,pull_request]

jobs:
cxx-build-workflow:
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@e885a99c2e34497c4c5c0c1428a269fb0aae7902
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@3f63de316255a285b0cac4c819d3d45649738999

6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
cmake_minimum_required(VERSION 3.16.3)
project(RLEImage)

if(POLICY CMP0135)
cmake_policy(SET CMP0135 NEW)
endif()

if(NOT ITK_SOURCE_DIR)
find_package(ITK 5.3 REQUIRED)
find_package(ITK REQUIRED)
list(APPEND CMAKE_MODULE_PATH ${ITK_CMAKE_DIR})
include(ITKModuleExternal)
else()
Expand Down
1 change: 1 addition & 0 deletions itk-module.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ file(READ "${MY_CURENT_DIR}/README.rst" DOCUMENTATION)

# define the dependencies of the include module and the tests
itk_module(RLEImage
ENABLE_SHARED
DEPENDS
ITKImageGrid
TEST_DEPENDS
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@
keywords='ITK InsightToolkit Run-length-encoding',
url=r'https://github.com/KitwareMedical/ITKRLEImage',
install_requires=[
r'itk>=5.3.0'
r'itk>=5.4rc2'
]
)

0 comments on commit a3bdf29

Please sign in to comment.