Merge branch 'xcode73-xctest-location' into release
This commit is contained in:
commit
8fdb2c5a5d
|
@ -140,6 +140,10 @@ function(xctest_add_bundle target testee)
|
||||||
set_target_properties(${target} PROPERTIES
|
set_target_properties(${target} PROPERTIES
|
||||||
XCODE_ATTRIBUTE_BUNDLE_LOADER "$(TEST_HOST)"
|
XCODE_ATTRIBUTE_BUNDLE_LOADER "$(TEST_HOST)"
|
||||||
XCODE_ATTRIBUTE_TEST_HOST "$<TARGET_FILE:${testee}>")
|
XCODE_ATTRIBUTE_TEST_HOST "$<TARGET_FILE:${testee}>")
|
||||||
|
if(NOT XCODE_VERSION VERSION_LESS 7.3)
|
||||||
|
set_target_properties(${target} PROPERTIES
|
||||||
|
LIBRARY_OUTPUT_DIRECTORY "$<TARGET_FILE_DIR:${testee}>/../PlugIns")
|
||||||
|
endif()
|
||||||
else(XCODE)
|
else(XCODE)
|
||||||
target_link_libraries(${target}
|
target_link_libraries(${target}
|
||||||
PRIVATE -bundle_loader $<TARGET_FILE:${testee}>)
|
PRIVATE -bundle_loader $<TARGET_FILE:${testee}>)
|
||||||
|
|
Loading…
Reference in New Issue