Skip to content

Commit

Permalink
swap paths in windows cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
Olllom committed May 27, 2020
1 parent 5ce15c7 commit 9aad782
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};$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 9aad782

Please sign in to comment.