File tree 1 file changed +4
-2
lines changed 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,9 @@ function(catch_discover_tests_impl)
65
65
endif ()
66
66
67
67
if (APPLE AND dl_framework_paths)
68
- cmake_path(CONVERT "${dl_framework_paths} " TO_NATIVE_PATH_LIST paths )
68
+ cmake_path(CONVERT "$ENV{DYLD_FRAMEWORK_PATH} " TO_NATIVE_PATH_LIST env_dl_framework_paths)
69
+ list (PREPEND env_dl_framework_paths "${dl_framework_paths} " )
70
+ cmake_path(CONVERT "${env_dl_framework_paths} " TO_NATIVE_PATH_LIST paths )
69
71
set (ENV{DYLD_FRAMEWORK_PATH} "${paths} " )
70
72
endif ()
71
73
@@ -133,7 +135,7 @@ function(catch_discover_tests_impl)
133
135
if (APPLE AND dl_framework_paths)
134
136
foreach (path ${dl_framework_paths} )
135
137
cmake_path(NATIVE_PATH path native_path)
136
- list (APPEND environment_modifications "DYLD_FRAMEWORK_PATH=path_list_prepend:${native_path} " )
138
+ list (PREPEND environment_modifications "DYLD_FRAMEWORK_PATH=path_list_prepend:${native_path} " )
137
139
endforeach ()
138
140
endif ()
139
141
You can’t perform that action at this time.
0 commit comments