From a8faea48ae4418aec4a15e0945fe070724390167 Mon Sep 17 00:00:00 2001 From: Howard Butler Date: Thu, 7 Nov 2024 13:40:34 -0600 Subject: [PATCH] TARGET_RUNTIME_DLL_DIRS --- .github/workflows/build.yml | 5 ++++- test/CMakeLists.txt | 5 +++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 192b0dcf..1ce023c9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,7 +35,10 @@ jobs: with: channels: conda-forge environment-file: "scripts/ci/environment.yml" - environment-name: "entwine-build" + mamba-version: "*" + channels: conda-forge,defaults + activate-environment: "entwine-build" + channel-priority: true - name: CMake diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 4339b857..6af1d517 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -21,8 +21,9 @@ macro(ENTWINE_ADD_TEST _name) add_test(NAME ${_name} COMMAND ${test-name}) if (WIN32) - set_property(TEST ${_name} PROPERTY ENVIRONMENT - "PATH=$;$ENV{PATH}") + set_property(TEST ${_name} PROPERTY + ENVIRONMENT_MODIFICATION + PATH=path_list_append:$) endif() endmacro(ENTWINE_ADD_TEST)