Skip to content

Commit e37e60c

Browse files
authored
Merge pull request #94 from SimonRit/master
Add ITK runtime directory in PATH for Windows
2 parents 890b67b + 77ec46d commit e37e60c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ jobs:
107107
set(dashboard_no_clean 1)
108108
set(ENV{CC} ${{ matrix.c-compiler }})
109109
set(ENV{CXX} ${{ matrix.cxx-compiler }})
110+
if(WIN32)
111+
set(ENV{PATH} "\${CTEST_DASHBOARD_ROOT}/ITK-build/bin;\$ENV{PATH}")
112+
endif()
110113
set(dashboard_cache "
111114
ITK_DIR:PATH=\${CTEST_DASHBOARD_ROOT}/ITK-build
112115
BUILD_TESTING:BOOL=ON

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ jobs:
100100
set(dashboard_no_clean 1)
101101
set(ENV{CC} ${{ "{{" }} matrix.c-compiler {{ "}}" }})
102102
set(ENV{CXX} ${{ "{{" }} matrix.cxx-compiler {{ "}}" }})
103+
if(WIN32)
104+
set(ENV{PATH} "\${CTEST_DASHBOARD_ROOT}/ITK-build/bin;\$ENV{PATH}")
105+
endif()
103106
set(dashboard_cache "
104107
ITK_DIR:PATH=\${CTEST_DASHBOARD_ROOT}/ITK-build
105108
BUILD_TESTING:BOOL=ON

0 commit comments

Comments
 (0)