hyperhdr: use CMAKE_POLICY_VERSION_MINIMUM workaround to compile with cmake-4.0.0

This should be reverted when HyperHDR is upgraded from 21.0.0.0.
The fix was included in 6779fdf843

This was unable to be patched, as the github project has subprojects that would not
be included in the generated tar.gz file.
This commit is contained in:
Rudi Heitbaum 2025-04-14 17:42:30 +00:00
parent 745e5cdd5a
commit 7675a5ee3e

View File

@ -44,6 +44,7 @@ PKG_CMAKE_OPTS_TARGET="-DCMAKE_NO_SYSTEM_FROM_IMPORTED=ON \
-DUSE_STATIC_QT_PLUGINS=ON \
-DUSE_SYSTEM_FLATBUFFERS_LIBS=OFF \
-DFLATBUFFERS_FLATC_EXECUTABLE=${TOOLCHAIN}/bin/flatc \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-Wno-dev"
pre_configure_target() {