Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
paperchalice committed Dec 30, 2023
1 parent 79c13c4 commit 529c471
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion Formula/llvm/llvm-core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ def install

cmake_args = std_cmake_args + %W[
BUILD_SHARED_LIBS=ON
CMAKE_OSX_DEPLOYMENT_TARGET=#{MacOS.version}.0

httplib_DIR=#{buildpath}/cpp-httplib/lib/cmake/httplib
LLVM_ENABLE_DUMP=ON
Expand Down
6 changes: 5 additions & 1 deletion Formula/qt/qt-web-engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ def real_install
end

cmake_args = std_cmake_args(install_prefix: HOMEBREW_PREFIX) + %W[
-D CMAKE_OSX_DEPLOYMENT_TARGET=#{MacOS.version}.0
-D CMAKE_STAGING_PREFIX=#{prefix}

-D FEATURE_webengine_system_ffmpeg=ON
Expand All @@ -129,6 +128,11 @@ def real_install
-S .
-G Ninja
]
if OS.mac?
os_version = MacOS.version.to_s

Check failure on line 132 in Formula/qt/qt-web-engine.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-13)

FormulaAudit/MacOSOnLinux: Don't use `MacOS` where it could be called on Linux.
cmake_args << "-D CMAKE_OSX_DEPLOYMENT_TARGET=#{os_version}"
end

system "cmake", *cmake_args
system "cmake", "--build", "."
system "cmake", "--install", ".", "--strip"
Expand Down

0 comments on commit 529c471

Please sign in to comment.