From dd7b741b811ad93ed8c9440c105bc1d22759c0c7 Mon Sep 17 00:00:00 2001 From: Marc Chevrier Date: Fri, 10 Jan 2020 13:32:50 +0100 Subject: macOS: Add support for new Xcode 11 frameworks directory Update CMAKE_SYSTEM_FRAMEWORK_PATH with new Xcode 11 frameworks directory --- Modules/Platform/Darwin.cmake | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v0.12