diff --git a/debian/rules b/debian/rules index abe6d734b..d8b1cc4d7 100755 --- a/debian/rules +++ b/debian/rules @@ -18,6 +18,7 @@ override_dh_auto_clean: override_dh_auto_build: dh_auto_build --buildsystem=cmake +# consider using -DUSE_VERSIONED_DIR=ON if backporting override_dh_auto_configure: dh_auto_configure --buildsystem=cmake -- -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_DOCDIR=share/doc/libopm-material1 -DUSE_RUNPATH=OFF diff --git a/redhat/opm-material.spec b/redhat/opm-material.spec index 0c9455c06..84ad9ea85 100644 --- a/redhat/opm-material.spec +++ b/redhat/opm-material.spec @@ -37,6 +37,7 @@ This package contains the documentation files for opm-material %prep %setup -q +# consider using -DUSE_VERSIONED_DIR=ON if backporting %build cmake28 -DBUILD_SHARED_LIBS=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_INSTALL_DOCDIR=share/doc/%{name}-%{version} -DUSE_RUNPATH=OFF make