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
This commit is contained in:
Christophe Marin 2023-04-05 12:55:14 +00:00 committed by Git OBS Bridge
parent fdcd2b2487
commit aa07f8b587
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Apr 5 11:29:32 UTC 2023 - Predrag Ivanović <predivan@mts.rs>
- Enable build of CLI tools.
-------------------------------------------------------------------
Mon Sep 12 13:37:16 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -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/*