mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-10 23:43:58 +03:00
FindXCTest: Pass -bundle_loader linker flag for test module more reliably
This commit is contained in:
1 parent
faa225b63b
commit
c653c1aa47
1 file changed
+2
-2
@@ -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