From aa07f8b5871892120921caaf496b70b0f7e4a44d20c8944daa22b79dcd10e1bf Mon Sep 17 00:00:00 2001 From: Christophe Marin Date: Wed, 5 Apr 2023 12:55:14 +0000 Subject: [PATCH] Accepting request 1077518 from home:predivan:branches:games - Enable build of CLI tools. OBS-URL: https://build.opensuse.org/request/show/1077518 OBS-URL: https://build.opensuse.org/package/show/games/assimp?expand=0&rev=43 --- assimp.changes | 5 +++++ assimp.spec | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/assimp.changes b/assimp.changes index c04d09c..b16beb3 100644 --- a/assimp.changes +++ b/assimp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 5 11:29:32 UTC 2023 - Predrag Ivanović + +- Enable build of CLI tools. + ------------------------------------------------------------------- Mon Sep 12 13:37:16 UTC 2022 - Dirk Müller diff --git a/assimp.spec b/assimp.spec index e04df73..e31664a 100644 --- a/assimp.spec +++ b/assimp.spec @@ -1,7 +1,7 @@ # # spec file for package assimp # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -73,7 +73,9 @@ engine-specific format for easy and fast every-day-loading. sed -i '/Werror/d' code/CMakeLists.txt %build -%cmake +%cmake \ + -DASSIMP_WARNINGS_AS_ERRORS=OFF \ + -DASSIMP_BUILD_ASSIMP_TOOLS=ON %cmake_build @@ -95,6 +97,7 @@ popd %files devel %doc CHANGES CREDITS +%{_bindir}/assimp %{_includedir}/assimp/ %{_libdir}/libassimp.so %{_libdir}/cmake/*