Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Brad King
CMake
Commits
cc329e97
Commit
cc329e97
authored
Oct 01, 2013
by
Brad King
Committed by
Kitware Robot
Oct 01, 2013
Browse files
Merge topic 'osx-find-sdk-frameworks'
1fce189e
OS X: Search system SDKs for frameworks
parents
e02e56c4
1fce189e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Modules/Platform/Darwin.cmake
View file @
cc329e97
...
...
@@ -294,6 +294,15 @@ endif()
# set up the default search directories for frameworks
set
(
CMAKE_SYSTEM_FRAMEWORK_PATH
~/Library/Frameworks
)
if
(
_CMAKE_OSX_SYSROOT_PATH
)
list
(
APPEND CMAKE_SYSTEM_FRAMEWORK_PATH
${
_CMAKE_OSX_SYSROOT_PATH
}
/Library/Frameworks
${
_CMAKE_OSX_SYSROOT_PATH
}
/Network/Library/Frameworks
${
_CMAKE_OSX_SYSROOT_PATH
}
/System/Library/Frameworks
)
endif
()
list
(
APPEND CMAKE_SYSTEM_FRAMEWORK_PATH
/Library/Frameworks
/Network/Library/Frameworks
/System/Library/Frameworks
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment