diff --git a/debian/rules b/debian/rules index 948ecf6abe..8a2507916b 100644 --- a/debian/rules +++ b/debian/rules @@ -13,7 +13,7 @@ dh $@ override_dh_auto_configure: - dh_auto_configure --buildsystem=cmake -- -DCMAKE_BUILD_TYPE=Release -DPRIVATE_INSTALL=0 -DCMAKE_INSTALL_DOCDIR=share/doc/resinsight + dh_auto_configure --buildsystem=cmake -- -DCMAKE_BUILD_TYPE=Release -DRESINSIGHT_PRIVATE_INSTALL=0 -DCMAKE_INSTALL_DOCDIR=share/doc/resinsight .PHONY: override_dh_strip override_dh_strip: diff --git a/redhat/resinsight.spec b/redhat/resinsight.spec index cde8ef0998..a4ab8ebd0e 100644 --- a/redhat/resinsight.spec +++ b/redhat/resinsight.spec @@ -41,7 +41,7 @@ This package contains the ResInsight octave plugins. %patch3 -p1 %build -cmake28 -DPRIVATE_INSTALL=0 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_INSTALL_DOCDIR=share/doc/resinsight-0.9.2 +cmake28 -DRESINSIGHT_PRIVATE_INSTALL=0 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_INSTALL_DOCDIR=share/doc/resinsight-0.9.2 make %install