Skip to content

Commit

Permalink
Extend instead of overrride PATH in tests (#215)
Browse files Browse the repository at this point in the history
* Use ENVIRONMENT_MODIFICATION

* Add changelog
  • Loading branch information
fsimonis authored Dec 10, 2024
1 parent 32bb864 commit 4952531
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 3.16.3)
cmake_minimum_required (VERSION 3.22)

project(ASTE VERSION 3.3.0)

Expand Down Expand Up @@ -135,7 +135,7 @@ foreach(example IN LISTS _examples)
set_tests_properties(aste.example.${example} aste.example.${example}.setup
PROPERTIES
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/examples/${example}"
ENVIRONMENT "PATH=$ENV{PATH}:${CMAKE_BINARY_DIR}"
ENVIRONMENT_MODIFICATION "PATH=path_list_append:${CMAKE_BINARY_DIR}"
LABELS example
RUN_SERIAL ON)
endforeach()
1 change: 1 addition & 0 deletions changelog-entries/215.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Changed the minimum required CMake version to 3.22.

0 comments on commit 4952531

Please sign in to comment.