Skip to content

Commit

Permalink
Merge pull request #18364 from Homebrew/fix_cmake_extend_prepend
Browse files Browse the repository at this point in the history
formula: fix alias/generic/prepend std_cmake_args issue.
  • Loading branch information
MikeMcQuaid authored Sep 20, 2024
2 parents d8fd19d + eab3229 commit 45ae9f4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/formula.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def valid_platform?
).returns(T::Array[String])
}
def std_cmake_args(install_prefix: prefix, install_libdir: "lib", find_framework: "LAST")
args = generic_std_cmake_args(install_prefix:, install_libdir:, find_framework:)
args = super

# Avoid false positives for clock_gettime support on 10.11.
# CMake cache entries for other weak symbols may be added here as needed.
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/formula.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1822,7 +1822,6 @@ def std_cmake_args(install_prefix: prefix, install_libdir: "lib", find_framework
-DBUILD_TESTING=OFF
]
end
alias generic_std_cmake_args std_cmake_args

# Standard parameters for configure builds.
sig {
Expand Down

0 comments on commit 45ae9f4

Please sign in to comment.