and the (hopefully) last one from Tat's Mac-can-run-make patch
This commit is contained in:
parent
d14a17b5b8
commit
1dff3bf29a
1 changed files with 14 additions and 1 deletions
|
@ -3,8 +3,21 @@ AM_CXXFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\"
|
|||
|
||||
bin_PROGRAMS = fgviewer
|
||||
|
||||
if HAVE_FRAMEWORK_PLIB
|
||||
fgviewer_LDFLAGS = $(plib_FRAMEWORK)
|
||||
else
|
||||
fgviewer_PLIB_LIBS = -lplibul
|
||||
fgviewer_LDFLAGS =
|
||||
endif
|
||||
|
||||
if HAVE_FRAMEWORK_OSG
|
||||
fgviewer_LDFLAGS += $(osg_FRAMEWORKS) $(openthreads_FRAMEWORK)
|
||||
else
|
||||
fgviewer_LDFLAGS += $(osg_LIBS) $(openthreads_LIBS)
|
||||
endif
|
||||
|
||||
fgviewer_SOURCES = fgviewer.cxx
|
||||
fgviewer_LDADD = \
|
||||
-lsgtgdb -lsgmaterial -lsgmodel -lsgbvh -lsgutil -lsgio -lsgbucket \
|
||||
-lsgmath -lsgprops -lsgdebug -lsgmisc -lsgxml -lsgstructure \
|
||||
-lplibul $(OSG_LIBS) $(opengl_LIBS) $(THREAD_LIBS) -lz
|
||||
$(fgviewer_PLIB_LIBS) $(OSG_LIBS) $(opengl_LIBS) $(THREAD_LIBS) -lz
|
||||
|
|
Loading…
Reference in a new issue