Skip to content

Commit cabd9eb

Browse files
committed
point at CMAKE_BINARY_DIR for windows tests
1 parent 98091b3 commit cabd9eb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ macro(ENTWINE_ADD_TEST _name)
1919
PRIVATE GTEST_LINKED_AS_SHARED_LIBRARY=1)
2020

2121
add_test(NAME ${_name} COMMAND ${test-name})
22+
if (WIN32)
23+
set_property(TEST ${_name} PROPERTY ENVIRONMENT
24+
"PATH=${CMAKE_BINARY_DIR}:$ENV{PATH}")
25+
endif()
2226
endmacro(ENTWINE_ADD_TEST)
2327

2428
ENTWINE_ADD_TEST(initialize FILES unit/init.cpp)

0 commit comments

Comments
 (0)