Skip to content

Commit 77ec46d

Browse files
author
Simon Rit
committed
BUG: add ITK runtime output directory to windows PATH
1 parent 890b67b commit 77ec46d

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)