mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 14:44:32 +02:00
parent
fa4ba1eaad
commit
a0d3357f21
@ -304,6 +304,7 @@ CMAKE_OPTS="-DCMAKE_INSTALL_PREFIX=/usr \
|
|||||||
-DICINGA2_LTO_BUILD=ON \
|
-DICINGA2_LTO_BUILD=ON \
|
||||||
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
-DBoost_NO_BOOST_CMAKE=ON \
|
-DBoost_NO_BOOST_CMAKE=ON \
|
||||||
|
-DICINGA2_PLUGINDIR=%{plugindir} \
|
||||||
-DICINGA2_RUNDIR=%{_rundir} \
|
-DICINGA2_RUNDIR=%{_rundir} \
|
||||||
-DICINGA2_USER=%{icinga_user} \
|
-DICINGA2_USER=%{icinga_user} \
|
||||||
-DICINGA2_GROUP=%{icinga_group} \
|
-DICINGA2_GROUP=%{icinga_group} \
|
||||||
@ -331,10 +332,7 @@ CMAKE_OPTS="$CMAKE_OPTS \
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if "%{_vendor}" != "suse"
|
%if "%{_vendor}" == "suse" && 0%{?suse_version} < 1310
|
||||||
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_PLUGINDIR=%{plugindir}"
|
|
||||||
%else
|
|
||||||
%if 0%{?suse_version} < 1310
|
|
||||||
CMAKE_OPTS="$CMAKE_OPTS -DBOOST_LIBRARYDIR=%{_libdir}/boost153 \
|
CMAKE_OPTS="$CMAKE_OPTS -DBOOST_LIBRARYDIR=%{_libdir}/boost153 \
|
||||||
-DBOOST_INCLUDEDIR=/usr/include/boost153 \
|
-DBOOST_INCLUDEDIR=/usr/include/boost153 \
|
||||||
-DBoost_ADDITIONAL_VERSIONS='1.53;1.53.0' \
|
-DBoost_ADDITIONAL_VERSIONS='1.53;1.53.0' \
|
||||||
@ -342,8 +340,6 @@ CMAKE_OPTS="$CMAKE_OPTS -DBOOST_LIBRARYDIR=%{_libdir}/boost153 \
|
|||||||
-DBUILD_TESTING=FALSE \
|
-DBUILD_TESTING=FALSE \
|
||||||
-DBoost_NO_BOOST_CMAKE=TRUE"
|
-DBoost_NO_BOOST_CMAKE=TRUE"
|
||||||
%endif
|
%endif
|
||||||
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_PLUGINDIR=%{plugindir}"
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?use_systemd}
|
%if 0%{?use_systemd}
|
||||||
CMAKE_OPTS="$CMAKE_OPTS -DUSE_SYSTEMD=ON"
|
CMAKE_OPTS="$CMAKE_OPTS -DUSE_SYSTEMD=ON"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user