Skip to content

Commit 52eca1e

Browse files
author
Tom Seddon
committed
Add bodge to get macOS build past CMake v4.1.1.
See #527.
1 parent 968d8cf commit 52eca1e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ INSTALLER:=
4545
ifdef OSX_DEPLOYMENT_TARGET
4646
CMAKE_DEFINES:=$(CMAKE_DEFINES) -DCMAKE_OSX_DEPLOYMENT_TARGET=$(OSX_DEPLOYMENT_TARGET)
4747
endif
48+
49+
# Temporary bodge. Homebrew supplies CMake 4.1.1., and therefore the
50+
# GitHub CI runners use that.
51+
CMAKE_DEFINES:=$(CMAKE_DEFINES) -DCMAKE_POLICY_VERSION_MINIMUM=3.5
52+
4853
# version number roulette.
4954
CLANG_FORMAT:=clang-format-mp-19
5055

0 commit comments

Comments
 (0)