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:
parent
9b948dd5af
commit
9ebcc29e15
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue