We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0358201 commit cd1824fCopy full SHA for cd1824f
test/CMakeLists.txt
@@ -145,6 +145,17 @@ function(add_umf_test)
145
set_tests_properties(${TEST_NAME} PROPERTIES LABELS "umf")
146
147
if(WINDOWS)
148
+ # add PATH to DLL on Windows
149
+ if(CMAKE_GENERATOR STREQUAL "Ninja")
150
+ set(DLL_PATH_LIST
151
+ "${DLL_PATH_LIST};PATH=path_list_append:${CMAKE_BINARY_DIR}/bin"
152
+ )
153
+ else()
154
155
+ "${DLL_PATH_LIST};PATH=path_list_append:${CMAKE_BINARY_DIR}/bin/$<CONFIG>/"
156
157
+ endif()
158
+
159
# append PATH to DLLs
160
set_property(TEST ${TEST_NAME} PROPERTY ENVIRONMENT_MODIFICATION
161
"${DLL_PATH_LIST}")
0 commit comments