From 610d2fcec04333761e036bfb57f99058102f6362 Mon Sep 17 00:00:00 2001 From: Gregor Jasny Date: Wed, 28 Jun 2017 21:59:48 +0200 Subject: XCTest: Use bundle specific generator expressions --- Modules/FindXCTest.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/FindXCTest.cmake b/Modules/FindXCTest.cmake index ffdf677..8497336 100644 --- a/Modules/FindXCTest.cmake +++ b/Modules/FindXCTest.cmake @@ -136,7 +136,7 @@ function(xctest_add_bundle target testee) XCODE_ATTRIBUTE_TEST_HOST "$") if(NOT XCODE_VERSION VERSION_LESS 7.3) set_target_properties(${target} PROPERTIES - LIBRARY_OUTPUT_DIRECTORY "$/../PlugIns") + LIBRARY_OUTPUT_DIRECTORY "$/PlugIns") endif() else(XCODE) target_link_libraries(${target} @@ -183,7 +183,7 @@ function(xctest_add_test name bundle) add_test( NAME ${name} - COMMAND ${XCTest_EXECUTABLE} $/../..) + COMMAND ${XCTest_EXECUTABLE} $) # point loader to testee in case rpath is disabled -- cgit v0.12