brew

https://github.com/homebrew/brew

Ruby

🍺 The missing package manager for macOS

Formula#std_cmake_args

Standard parameters for CMake builds.
Setting CMAKE_FIND_FRAMEWORK to "LAST" tells CMake to search for our
libraries before trying to utilize Frameworks, many of which will be from
3rd party installs.
Note: there isn't a std_autotools variant because autotools is a lot
less consistent and the standard parameters are more memorable.

Source | Google | Stack overflow

Edit

git clone [email protected]:homebrew/brew.git

cd brew

open Library/Homebrew/formula.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Formula-std_cmake_args-for-pr


# Commit to git

git add Library/Homebrew/formula.rbgit commit -m "better docs for Formula#std_cmake_args"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Formula-std_cmake_args-for-pr

hub pull-request


# Celebrate!