Skip to content

Commit

Permalink
escape backslashes in PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
Olllom committed May 27, 2020
1 parent 4083409 commit 3b7b0d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ macro (cmaes_add_test name)
target_link_libraries (t_${name} cmaes)
add_test (NAME ${name} COMMAND t_${name})
if (WIN32)
set_tests_properties (${name} PROPERTIES ENVIRONMENT "PATH=${PROJECT_BINARY_DIR}\\src\\${CMAKE_BUILD_TYPE};${PROJECT_BINARY_DIR}\\src;$ENV{PATH}") # to load dll
set_tests_properties (${name} PROPERTIES ENVIRONMENT "PATH=${PROJECT_BINARY_DIR}\\src\\${CMAKE_BUILD_TYPE}\;${PROJECT_BINARY_DIR}\\src\;$ENV{PATH}") # to load dll
endif ()
endmacro ()

Expand Down

0 comments on commit 3b7b0d5

Please sign in to comment.