Skip to content

Commit 4ee7b68

Browse files
committed
COMP: Use CMake 3.18.3
Work around a regression in CMake 3.19.1 causing configuration errors: CMake Error: install(EXPORT "ITKTargets" ...) includes target "gdcmjpeg8" xref: https://gitlab.kitware.com/cmake/cmake/-/issues/21529 Install CMake 3.18.3.
1 parent 4c2fc10 commit 4ee7b68

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.github/workflows/build-test-package.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ jobs:
4040
python -m pip install ninja
4141
python -m pip install cookiecutter
4242
43+
- name: Get specific of CMake, Ninja
44+
uses: lukka/[email protected]
45+
4346
- name: Download ITK
4447
run: |
4548
cd ..
@@ -189,6 +192,9 @@ jobs:
189192
steps:
190193
- uses: actions/checkout@v2
191194

195+
- name: Get specific of CMake, Ninja
196+
uses: lukka/[email protected]
197+
192198
- name: 'Fetch build script'
193199
run: |
194200
curl -L https://raw.githubusercontent.com/InsightSoftwareConsortium/ITKPythonPackage/master/scripts/macpython-download-cache-and-build-module-wheels.sh -O
@@ -236,6 +242,9 @@ jobs:
236242
with:
237243
python-version: '3.x'
238244

245+
- name: Get specific of CMake, Ninja
246+
uses: lukka/[email protected]
247+
239248
- name: Evaluate template
240249
shell: bash
241250
run: |

{{cookiecutter.project_name}}/.github/workflows/build-test-package.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ jobs:
3939
python -m pip install --upgrade pip
4040
python -m pip install ninja
4141
42+
- name: Get specific of CMake, Ninja
43+
uses: lukka/[email protected]
44+
4245
- name: Download ITK
4346
run: |
4447
cd ..
@@ -174,6 +177,9 @@ jobs:
174177
steps:
175178
- uses: actions/checkout@v2
176179

180+
- name: Get specific of CMake, Ninja
181+
uses: lukka/[email protected]
182+
177183
- name: 'Fetch build script'
178184
run: |
179185
curl -L https://raw.githubusercontent.com/InsightSoftwareConsortium/ITKPythonPackage/master/scripts/macpython-download-cache-and-build-module-wheels.sh -O
@@ -201,6 +207,9 @@ jobs:
201207
- itk-python-git-tag: "v5.1.2"
202208

203209
steps:
210+
- name: Get specific of CMake, Ninja
211+
uses: lukka/[email protected]
212+
204213
- uses: actions/checkout@v2
205214
with:
206215
path: "im"

0 commit comments

Comments
 (0)