[CMake] Added the argument specifying the minimum required policy version for
cmake to version 3.5 to comply to this fedora change: https://fedoraproject.org/wiki/Changes/CMake4.0 and enable us to use CMake4.0 in the future. Resolves: RHBZ#2380892
This commit is contained in:
parent
c70d220c9e
commit
e9382b02e6
@ -979,6 +979,7 @@ CXXFLAGS="$CFLAGS"; CPPFLAGS="$CFLAGS"; export CFLAGS CXXFLAGS CPPFLAGS
|
||||
# The INSTALL_xxx macros have to be specified relative to CMAKE_INSTALL_PREFIX
|
||||
# so we can't use %%{_datadir} and so forth here.
|
||||
%cmake \
|
||||
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
|
||||
-DBUILD_CONFIG=mysql_release \
|
||||
-DFEATURE_SET="community" \
|
||||
-DWITH_SBOM=0 \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user