Skip to content

Commit e9ccf45

Browse files
committed
dll path fix
1 parent 0498da7 commit e9ccf45

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test/CMakeLists.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,11 @@ function(add_umf_test)
149149
if(WINDOWS)
150150
# add PATH to DLL on Windows
151151
set(DLL_PATH_LIST
152-
"${DLL_PATH_LIST};PATH=path_list_append:${CMAKE_BINARY_DIR}/bin/;PATH=path_list_append:${CMAKE_BINARY_DIR}/bin/$<CONFIG>/"
153-
)
152+
"${DLL_PATH_LIST};"
153+
"PATH=path_list_append:${CMAKE_BINARY_DIR}/bin/;"
154+
"PATH=path_list_append:${CMAKE_BINARY_DIR}/bin/$<CONFIG>/;"
155+
"PATH=path_list_append:${CMAKE_BINARY_DIR}/test/common/;"
156+
"PATH=path_list_append:${CMAKE_BINARY_DIR}/test/common/$<CONFIG>/")
154157

155158
# append PATH to DLLs NOTE: this would work only for the CMake ver >= #
156159
# 3.22. For the older versions, the PATH variable should be set in the

0 commit comments

Comments
 (0)