mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 05:10:10 -05:00
FindXCTest: Pass -bundle_loader linker flag for test module more reliably
This commit is contained in:
@@ -171,8 +171,8 @@ function(xctest_add_bundle target testee)
|
|||||||
LIBRARY_OUTPUT_DIRECTORY "${_output_directory}")
|
LIBRARY_OUTPUT_DIRECTORY "${_output_directory}")
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
target_link_libraries(${target}
|
target_link_options(${target}
|
||||||
PRIVATE -bundle_loader $<TARGET_FILE:${testee}>)
|
PRIVATE "SHELL:-bundle_loader \"$<TARGET_FILE:${testee}>\"")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
else()
|
else()
|
||||||
|
|||||||
Reference in New Issue
Block a user