CMake: Patch defaults for using Frameworks
This patch makes it possible to use `-DCMAKE_FIND_FRAMEWORK` to override CMake default of giving priority to Frameworks when satisfying dependencies. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
This commit is contained in:
parent
5c4dca3e00
commit
6191fdf96d
1 changed files with 7 additions and 2 deletions
|
@ -29,9 +29,14 @@ class Cmake < Formula
|
|||
|
||||
depends_on NoExpatFramework.new
|
||||
|
||||
# Correct FindPkgConfig found variable. Remove for CMake 2.8.9.
|
||||
def patches
|
||||
"https://github.com/Kitware/CMake/commit/3ea850.patch"
|
||||
[
|
||||
# Correct FindPkgConfig found variable. Remove for CMake 2.8.9.
|
||||
"https://github.com/Kitware/CMake/commit/3ea850.patch",
|
||||
# Protect the default value of CMAKE_FIND_FRAMEWORK so that it can be
|
||||
# overridden from the command line. Remove for CMake 2.8.9.
|
||||
"https://github.com/Kitware/CMake/commit/8b2fb3.patch"
|
||||
]
|
||||
end
|
||||
|
||||
def install
|
||||
|
|
Loading…
Reference in a new issue