diff options
Diffstat (limited to 'pugixml-devel.spec')
| -rw-r--r-- | pugixml-devel.spec | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pugixml-devel.spec b/pugixml-devel.spec index bb85e0a..cc55ccc 100644 --- a/pugixml-devel.spec +++ b/pugixml-devel.spec @@ -28,13 +28,15 @@ for building applications with pugixml. %autosetup -n %{name}-%{version} -p1 %build -%cmake \ +cmake -B build \ + -DCMAKE_INSTALL_PREFIX=%{_prefix} \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DBUILD_SHARED_LIBS=ON \ -DPUGIXML_BUILD_TESTS=OFF -%cmake_build +cmake --build build %{?_smp_mflags} %install -%cmake_install +cmake --install build --prefix %{buildroot}%{_prefix} %files %license LICENSE.md |
