Skip to content

Commit

Permalink
point at CMAKE_BINARY_DIR for windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Jun 3, 2024
1 parent 98091b3 commit cabd9eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ macro(ENTWINE_ADD_TEST _name)
PRIVATE GTEST_LINKED_AS_SHARED_LIBRARY=1)

add_test(NAME ${_name} COMMAND ${test-name})
if (WIN32)
set_property(TEST ${_name} PROPERTY ENVIRONMENT
"PATH=${CMAKE_BINARY_DIR}:$ENV{PATH}")
endif()
endmacro(ENTWINE_ADD_TEST)

ENTWINE_ADD_TEST(initialize FILES unit/init.cpp)
Expand Down

0 comments on commit cabd9eb

Please sign in to comment.