summaryrefslogtreecommitdiff
path: root/tools/hscript-validate/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tools/hscript-validate/CMakeLists.txt')
-rw-r--r--tools/hscript-validate/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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)