File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ jobs:
125125 cmake --install . --config ${{env.BUILD_TYPE}}
126126 cd ..
127127 rm -r itk-src-${{ env.ITK_VERSION }} itk-bin-${{ env.ITK_VERSION }}
128+ echo "ITK_DIR=${{github.workspace}}/itk-${{ env.ITK_VERSION }}/lib/cmake/ITK-${{ env.ITK_SHORTVER }}" >> "$GITHUB_ENV"
128129
129130 - if : ${{ runner.os == 'Windows' && (steps.cache-itk.outputs.cache-hit != 'true' || steps.cache-itk-src.outputs.cache-hit != 'true') }}
130131 # ITK install is currently broken on Windows, see https://discourse.itk.org/t/7414
@@ -137,6 +138,7 @@ jobs:
137138 cmake --build . --config ${{env.BUILD_TYPE}} -j 4
138139 cd ..
139140 rm itk-src-${{ env.ITK_VERSION }}.tar.gz
141+ echo "ITK_DIR=${{github.workspace}}/itk-${{ env.ITK_VERSION }}" >> "$GITHUB_ENV"
140142
141143 - name : Install npm
142144 uses : actions/setup-node@v4
@@ -156,7 +158,7 @@ jobs:
156158 run : |
157159 mkdir bin
158160 cd bin
159- cmake -B . -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ${{env.OPENIA_CMAKE_OPTIONS}} -DITK_DIR=${{github.workspace}}/itk-${{ env.ITK_VERSION }}/lib/cmake/ITK-${{ env.ITK_SHORTVER }} ..
161+ cmake -B . -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ${{env.OPENIA_CMAKE_OPTIONS}} -DITK_DIR=${{env.ITK_DIR }} ..
160162 cmake --build . --config ${{env.BUILD_TYPE}} -j 4
161163 cmake --install . --config ${{env.BUILD_TYPE}} --prefix ${{github.workspace}}/install
162164
You can’t perform that action at this time.
0 commit comments