git: 1eda05d6c5d1 - main - */*: CMake 4.5 compatibility
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 Oct 2026 16:41:04 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1eda05d6c5d1c6ed7cc7c53b36af593a15e96b8b
commit 1eda05d6c5d1c6ed7cc7c53b36af593a15e96b8b
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-10-06 15:27:24 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-10-06 16:41:02 +0000
*/*: CMake 4.5 compatibility
PR: 295319
---
audio/bliss/Makefile | 2 ++
audio/inscore/Makefile | 1 +
audio/sc3-plugins/Makefile | 1 +
science/openmodelica/Makefile | 1 +
4 files changed, 5 insertions(+)
diff --git a/audio/bliss/Makefile b/audio/bliss/Makefile
index e5877756c0f4..60ec47fb0375 100644
--- a/audio/bliss/Makefile
+++ b/audio/bliss/Makefile
@@ -20,6 +20,8 @@ USE_GITHUB= yes
GH_ACCOUNT= Polochon-street
USE_LDCONFIG= yes
+CMAKE_ARGS= -DCMAKE_POLICY_VERSION_MINIMUM=3.5 # CMake 4.5 compatibility
+
PLIST_FILES= include/bliss.h \
lib/libbliss.so
diff --git a/audio/inscore/Makefile b/audio/inscore/Makefile
index 7cdb0a036bec..1eb2b6d92e01 100644
--- a/audio/inscore/Makefile
+++ b/audio/inscore/Makefile
@@ -25,6 +25,7 @@ GH_TUPLE= grame-cncm:guidolib:acadbcc:guidolib/modules/guidolib # this uses some
CMAKE_SOURCE_PATH= ${WRKSRC}/build
CMAKE_ARGS= -DFREEBSD_EXAMPLESDIR=${EXAMPLESDIR} -DFREEBSD_DOCSDIR=${DOCSDIR}
+CMAKE_ARGS+= -DCMAKE_POLICY_VERSION_MINIMUM=3.5 # CMake 4.5 compatibility
CXXFLAGS+= -I${LOCALBASE}/include/guido -I${LOCALBASE}/include/guidoar
CXXFLAGS_powerpc64= -DOSC_HOST_BIG_ENDIAN
diff --git a/audio/sc3-plugins/Makefile b/audio/sc3-plugins/Makefile
index b2fd9158892e..f49ebabb5185 100644
--- a/audio/sc3-plugins/Makefile
+++ b/audio/sc3-plugins/Makefile
@@ -26,6 +26,7 @@ GH_TUPLE= timblechmann:nova-simd:3140689:n/external_libraries/nova-simd
CMAKE_ARGS+= -DSYSTEM_STK:BOOL=ON
CMAKE_ARGS+= -DSC_PATH:STRING=${LOCALBASE}/include/SuperCollider/ # see https://github.com/supercollider/sc3-plugins/issues/170
CMAKE_OFF= CPP11 # change to C++14 to fix build, because C++14 features are used
+CMAKE_ARGS+= -DCMAKE_POLICY_VERSION_MINIMUM=3.5 # CMake 4.5 compatibility
OPTIONS_DEFINE= SUPERNOVA
OPTIONS_DEFAULT= SUPERNOVA
diff --git a/science/openmodelica/Makefile b/science/openmodelica/Makefile
index 898d1728322c..7acfadee0d37 100644
--- a/science/openmodelica/Makefile
+++ b/science/openmodelica/Makefile
@@ -72,6 +72,7 @@ CMAKE_ARGS+= -DOM_USE_CCACHE:BOOL=${CCACHE_ENABLED:S/yes/ON/:S/no/OFF/} # if ref
#CMAKE_ARGS+= -DOM_QT_MAJOR_VERSION=6 # broken, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287596
CMAKE_ON= OM_OMEDIT_ENABLE_QTWEBENGINE
CMAKE_OFF= OM_OMC_ENABLE_IPOPT # broken: omc::3rd::ipopt isn't found, see https://github.com/OpenModelica/OpenModelica/issues/14702
+CMAKE_ARGS+= -DCMAKE_POLICY_VERSION_MINIMUM=3.5 # CMake 4.5 compatibility, see https://github.com/OpenModelica/OpenModelica/issues/17154
LDFLAGS+= -lexecinfo -lintl -pthread