mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 14:20:06 -06: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}")
|
||||
endif()
|
||||
else()
|
||||
target_link_libraries(${target}
|
||||
PRIVATE -bundle_loader $<TARGET_FILE:${testee}>)
|
||||
target_link_options(${target}
|
||||
PRIVATE "SHELL:-bundle_loader \"$<TARGET_FILE:${testee}>\"")
|
||||
endif()
|
||||
|
||||
else()
|
||||
|
||||
Reference in New Issue
Block a user