summaryrefslogtreecommitdiff
path: root/pugixml-devel.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-09-20 13:48:22 +0000
committerCoprDistGit <infra@openeuler.org>2026-09-20 13:48:22 +0000
commit35028fb6f54845efcc301c25e2e7b043f3eb447f (patch)
treefd88f6eab8bd4ef58332235f9264701fb51932bc /pugixml-devel.spec
parent3218a75629d097b5d56442e136853ac8b795b308 (diff)
automatic import of pugixml-developeneuler24.03_LTS_SP3
Diffstat (limited to 'pugixml-devel.spec')
-rw-r--r--pugixml-devel.spec8
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