Skip to content

Commit

Permalink
Use ENVIRONMENT_MODIFICATION
Browse files Browse the repository at this point in the history
  • Loading branch information
fsimonis committed Oct 28, 2024
1 parent e08b82b commit 91f154d
Showing 1 changed file with 2 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)

Expand Down Expand Up @@ -134,7 +134,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()

0 comments on commit 91f154d

Please sign in to comment.