Skip to content

Commit 4828d13

Browse files
committed
set path to umf.dll in ctest for Win
1 parent 7db2fda commit 4828d13

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ function(add_umf_test)
5050

5151
set_tests_properties(${TEST_NAME} PROPERTIES LABELS "umf")
5252

53+
if(WIN32)
54+
set_property(${TEST_NAME} PROPERTY ENVIRONMENT_MODIFICATION "PATH=path_list_append:${CUSTOM_COMMAND_BINARY_DIR}")
55+
endif()
56+
5357
if (UMF_ENABLE_POOL_TRACKING)
5458
target_compile_definitions(${TEST_TARGET_NAME} PRIVATE UMF_ENABLE_POOL_TRACKING_TESTS=1)
5559
endif()

0 commit comments

Comments
 (0)