summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-01-13 15:20:43 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-01-13 15:20:59 (GMT)
commitdf1fad32adff9fd88ea8967b9dd346eb6231e36d (patch)
tree97ac85d6618ace1225d96c936f60fd885adf5be5 /Modules/Platform
parente4c07116027e7c82fab658b11a630492052f3761 (diff)
parentfcde42751a6b33b57efc994347836258028fcadf (diff)
downloadCMake-df1fad32adff9fd88ea8967b9dd346eb6231e36d.zip
CMake-df1fad32adff9fd88ea8967b9dd346eb6231e36d.tar.gz
CMake-df1fad32adff9fd88ea8967b9dd346eb6231e36d.tar.bz2
Merge topic 'macOS-Xcode-11-frameworks'
fcde42751a FindPython: ensure new Xcode framework for Python3 is detected dd7b741b81 macOS: Add support for new Xcode 11 frameworks directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4198
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Darwin.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/Platform/Darwin.cmake b/Modules/Platform/Darwin.cmake
index 1482d76..e5a57b5 100644
--- a/Modules/Platform/Darwin.cmake
+++ b/Modules/Platform/Darwin.cmake
@@ -157,6 +157,10 @@ if(_CMAKE_OSX_SYSROOT_PATH)
endif()
endforeach()
endif()
+if (OSX_DEVELOPER_ROOT AND EXISTS "${OSX_DEVELOPER_ROOT}/Library/Frameworks")
+ list(APPEND CMAKE_SYSTEM_FRAMEWORK_PATH
+ ${OSX_DEVELOPER_ROOT}/Library/Frameworks)
+endif()
list(APPEND CMAKE_SYSTEM_FRAMEWORK_PATH
/Library/Frameworks
/Network/Library/Frameworks