diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-09-20 13:48:22 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-09-20 13:48:22 +0000 |
| commit | 35028fb6f54845efcc301c25e2e7b043f3eb447f (patch) | |
| tree | fd88f6eab8bd4ef58332235f9264701fb51932bc | |
| parent | 3218a75629d097b5d56442e136853ac8b795b308 (diff) | |
automatic import of pugixml-developeneuler24.03_LTS_SP3
| -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 |
