summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/XcodeProject/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2015-02-22 18:00:11 (GMT)
committerBrad King <brad.king@kitware.com>2015-02-23 18:10:52 (GMT)
commit0ee2a004e70e2d49423f5b4b393896258e8ab688 (patch)
tree6e7abdef78dce1d5557fa049b933149686a8198d /Tests/RunCMake/XcodeProject/RunCMakeTest.cmake
parentcb16c7844dce627ab40f404c6ac49db3cde7b0c0 (diff)
downloadCMake-0ee2a004e70e2d49423f5b4b393896258e8ab688.zip
CMake-0ee2a004e70e2d49423f5b4b393896258e8ab688.tar.gz
CMake-0ee2a004e70e2d49423f5b4b393896258e8ab688.tar.bz2
OS X: Add platform-specific Frameworks search path
Otherwise find_library is unable to lookup the XCTest framework which is not located in the SDK serach path: In the 10.10 SDK the SDK frameworks are located here: $DEVELOPER_DIR/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks whereas the Platform SDKs are located here: $DEVELOPER_DIR/Platforms/MacOSX.platform/Developer/Library/Frameworks Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Diffstat (limited to 'Tests/RunCMake/XcodeProject/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/XcodeProject/RunCMakeTest.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/XcodeProject/RunCMakeTest.cmake b/Tests/RunCMake/XcodeProject/RunCMakeTest.cmake
index 792f40e..03d3cd3 100644
--- a/Tests/RunCMake/XcodeProject/RunCMakeTest.cmake
+++ b/Tests/RunCMake/XcodeProject/RunCMakeTest.cmake
@@ -3,3 +3,6 @@ include(RunCMake)
run_cmake(XcodeFileType)
run_cmake(XcodeAttributeGenex)
run_cmake(XcodeAttributeGenexError)
+if (NOT XCODE_VERSION VERSION_LESS 6)
+ run_cmake(XcodePlatformFrameworks)
+endif()