Skip to content

Commit 912a1bc

Browse files
committed
set path to umf.dll in ctest for Win
1 parent dadbd24 commit 912a1bc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ function(add_umf_test)
5353

5454
set_tests_properties(${TEST_NAME} PROPERTIES LABELS "umf")
5555

56+
if(WIN32)
57+
set_property(TEST ${TEST_NAME} PROPERTY ENVIRONMENT_MODIFICATION
58+
"PATH=path_list_append:../src/$<CONFIG>")
59+
endif()
60+
5661
if (UMF_ENABLE_POOL_TRACKING)
5762
target_compile_definitions(${TEST_TARGET_NAME} PRIVATE UMF_ENABLE_POOL_TRACKING_TESTS=1)
5863
endif()

0 commit comments

Comments
 (0)