diff options
author | Brad King <brad.king@kitware.com> | 2016-03-28 13:25:43 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-03-28 13:25:43 (GMT) |
commit | 81cec38b99ce2a68a57b81fa138351f85a4536c9 (patch) | |
tree | bc49d388c9529b0dff4159649d0e149bc990cd48 /Modules | |
parent | c69ed0a8844ea5f417fefa758cdbcfc978d89712 (diff) | |
parent | a364d2513a3fac76cf12cf3db21b7e9600ac51a4 (diff) | |
download | CMake-81cec38b99ce2a68a57b81fa138351f85a4536c9.zip CMake-81cec38b99ce2a68a57b81fa138351f85a4536c9.tar.gz CMake-81cec38b99ce2a68a57b81fa138351f85a4536c9.tar.bz2 |
Merge topic 'xcode73-xctest-location'
a364d251 Xcode: Fixup XCTest bundle location for Xcode 7.3
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindXCTest.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/FindXCTest.cmake b/Modules/FindXCTest.cmake index 3cd9c22..805a58c 100644 --- a/Modules/FindXCTest.cmake +++ b/Modules/FindXCTest.cmake @@ -140,6 +140,10 @@ function(xctest_add_bundle target testee) set_target_properties(${target} PROPERTIES XCODE_ATTRIBUTE_BUNDLE_LOADER "$(TEST_HOST)" 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) target_link_libraries(${target} PRIVATE -bundle_loader $<TARGET_FILE:${testee}>) |