mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 14:21:16 +00:00
Prospective fix for ctest on macOS in the CI
Try manually to propagate the local environment variable for the dyld framework path It might not get propagated across the process boundaries by itself the way github actions set it in the local environment.
This commit is contained in:
parent
e7cbc716ed
commit
372ba09741
1 changed files with 3 additions and 0 deletions
|
@ -142,4 +142,7 @@ if(BUILD_TESTING)
|
||||||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||||
set_property(TEST api_tests PROPERTY WORKING_DIRECTORY "${CMAKE_BINARY_DIR}")
|
set_property(TEST api_tests PROPERTY WORKING_DIRECTORY "${CMAKE_BINARY_DIR}")
|
||||||
endif()
|
endif()
|
||||||
|
if(APPLE)
|
||||||
|
set_property(TEST api_tests PROPERTY ENVIRONMENT "DYLD_FRAMEWORK_PATH=$ENV{DYLD_FRAMEWORK_PATH}")
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue