mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
bam-info wants to link with speedtree if available
This commit is contained in:
parent
74557c5c72
commit
78b0e9b627
@ -1,4 +1,4 @@
|
||||
#define USE_PACKAGES fftw cg
|
||||
#define USE_PACKAGES fftw cg speedtree
|
||||
#define OTHER_LIBS \
|
||||
egg2pg:c egg:c pandaegg:m \
|
||||
pipeline:c recorder:c parametrics:c collide:c chan:c char:c \
|
||||
@ -11,6 +11,7 @@
|
||||
$[if $[HAVE_NET],net:c] $[if $[WANT_NATIVE_NET],nativenet:c] \
|
||||
$[if $[HAVE_AUDIO],audio:c] \
|
||||
panda:m \
|
||||
$[if $[HAVE_SPEEDTREE],pandaspeedtree] \
|
||||
pandabase:c express:c pandaexpress:m \
|
||||
interrogatedb:c dtoolutil:c dtoolbase:c prc:c dconfig:c \
|
||||
dtoolconfig:m dtool:m pystub
|
||||
|
@ -27,6 +27,10 @@
|
||||
#include "bamCacheIndex.h"
|
||||
#include "pystub.h"
|
||||
|
||||
#ifdef HAVE_SPEEDTREE
|
||||
#include "config_speedtree.h"
|
||||
#endif
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: BamInfo::Constructor
|
||||
// Access: Public
|
||||
@ -340,6 +344,10 @@ int main(int argc, char *argv[]) {
|
||||
// A call to pystub() to force libpystub.so to be linked in.
|
||||
pystub();
|
||||
|
||||
#ifdef HAVE_SPEEDTREE
|
||||
init_libspeedtree();
|
||||
#endif
|
||||
|
||||
BamInfo prog;
|
||||
prog.parse_command_line(argc, argv);
|
||||
prog.run();
|
||||
|
Loading…
x
Reference in New Issue
Block a user