libraries/ogre: Fix build if assimp present.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2021-02-15 14:47:20 -05:00 committed by Willy Sudiarto Raharjo
parent 9b948dd5af
commit 9ebcc29e15
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 6 additions and 2 deletions

View File

@ -35,5 +35,3 @@ zziplib, FreeImage, tbb, cppunit, ois, nvidia-cg-toolkit
Optional dependencies NOT (yet) available at SlackBuilds.org:
opengles, POCO
NOTE: This will not build if assimp is installed.

View File

@ -24,6 +24,11 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20210215 bkw: modified by SlackBuilds.org: force-disable the assimp
# plugin. Our assimp is too old (or too new?) for this version of
# ogre. This allows ogre to be built on a system where assimp is
# installed.
PRGNAM=ogre
VERSION=${VERSION:-1.12.9}
IMGUIVER=${IMGUIVER:-1.77}
@ -91,6 +96,7 @@ tar xvf $CWD/imgui-$IMGUIVER.tar.gz
-DOGRE_BUILD_DEPENDENCIES=FALSE \
-DOGRE_BUILD_PLUGIN_FREEIMAGE=TRUE \
-DOGRE_INSTALL_SAMPLES_SOURCE=$OGRE_INSTALL_SAMPLES_SOURCE \
-DOGRE_BUILD_PLUGIN_ASSIMP=FALSE \
../
make
make install DESTDIR=$PKG