Skip to content

Commit f72f649

Browse files
committed
Add path of umf.dll to DLL_PATH_LIST for tests on Windows
Signed-off-by: Lukasz Dorau <[email protected]>
1 parent 307eb9c commit f72f649

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
@@ -145,6 +145,11 @@ function(add_umf_test)
145145
set_tests_properties(${TEST_NAME} PROPERTIES LABELS "umf")
146146

147147
if(WINDOWS)
148+
# add PATH to DLL on Windows
149+
set(DLL_PATH_LIST
150+
"${DLL_PATH_LIST};PATH=path_list_append:${CMAKE_BINARY_DIR}/bin/;PATH=path_list_append:${CMAKE_BINARY_DIR}/bin/$<CONFIG>/"
151+
)
152+
148153
# append PATH to DLLs
149154
set_property(TEST ${TEST_NAME} PROPERTY ENVIRONMENT_MODIFICATION
150155
"${DLL_PATH_LIST}")

0 commit comments

Comments
 (0)