Skip to content

Commit

Permalink
Explicity allow use of FetchContent for Solidity
Browse files Browse the repository at this point in the history
Since Homebrew/brew#17075, CMake `FetchContent` is disabled by default.
This made the Solidity formula to crash: https://github.com/Homebrew/homebrew-core/actions/runs/9175554982/job/25228895627?pr=172324.
This commit explicitly enables it back.

See: Homebrew/brew#17187 (comment) for context.
  • Loading branch information
r0qs committed May 21, 2024
1 parent aaa29b6 commit a5d3fb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/s/solidity.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Solidity < Formula

def install
mkdir "build" do
system "cmake", "..", *std_cmake_args
system "cmake", "..", *std_cmake_args, "-DHOMEBREW_ALLOW_FETCHCONTENT=ON"
system "make", "install"
end
end
Expand Down

0 comments on commit a5d3fb6

Please sign in to comment.