diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-20 01:55:30 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-20 01:55:30 -0500 |
commit | f0b2e1bfd5d81cbacdf838d9b00df88df24bc12d (patch) | |
tree | 639d89b0e7628811bdd772959774b76858ec3007 /tools | |
parent | d1eb637ecb5df16f6fcd42b3dfd6b02ddf0a2311 (diff) | |
download | horizon-f0b2e1bfd5d81cbacdf838d9b00df88df24bc12d.tar.gz horizon-f0b2e1bfd5d81cbacdf838d9b00df88df24bc12d.tar.bz2 horizon-f0b2e1bfd5d81cbacdf838d9b00df88df24bc12d.tar.xz horizon-f0b2e1bfd5d81cbacdf838d9b00df88df24bc12d.zip |
CMake: Set PATH correctly
Diffstat (limited to 'tools')
-rw-r--r-- | tools/hscript-simulate/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tools/hscript-validate/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/hscript-simulate/CMakeLists.txt b/tools/hscript-simulate/CMakeLists.txt index 45e8d95..ddd7eed 100644 --- a/tools/hscript-simulate/CMakeLists.txt +++ b/tools/hscript-simulate/CMakeLists.txt @@ -11,7 +11,7 @@ add_test(NAME "RSpecSimulator" COMMAND ${RSPEC_EXECUTABLE} spec/simulator_spec.rb WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests) set_property(TEST "RSpecSimulator" - PROPERTY ENVIRONMENT "PATH=$PATH:${CMAKE_CURRENT_BINARY_DIR}") + PROPERTY ENVIRONMENT "PATH=$ENV{PATH}:${CMAKE_CURRENT_BINARY_DIR}") ENDIF(RSPEC_EXECUTABLE) IF(VALGRIND) diff --git a/tools/hscript-validate/CMakeLists.txt b/tools/hscript-validate/CMakeLists.txt index f8b579a..2f0b5a4 100644 --- a/tools/hscript-validate/CMakeLists.txt +++ b/tools/hscript-validate/CMakeLists.txt @@ -11,7 +11,7 @@ add_test(NAME "RSpecValidator" COMMAND ${RSPEC_EXECUTABLE} spec/validator_spec.rb WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests) set_property(TEST "RSpecValidator" - PROPERTY ENVIRONMENT "PATH=$PATH:${CMAKE_CURRENT_BINARY_DIR}") + PROPERTY ENVIRONMENT "PATH=$ENV{PATH}:${CMAKE_CURRENT_BINARY_DIR}") ENDIF(RSPEC_EXECUTABLE) IF(VALGRIND) |