Add 3d cloud support back in
This commit is contained in:
parent
7ede111d12
commit
6834e86f94
2 changed files with 11 additions and 1 deletions
|
@ -121,6 +121,10 @@ fi
|
|||
dnl Used by JSBSim to conditionally compile in fgfs interface code
|
||||
AC_DEFINE([FGFS], 1, [Define so that JSBSim compiles in 'library' mode])
|
||||
|
||||
dnl Used to controll whether clouds3d should be compiled in or not
|
||||
AC_DEFINE([FG_USE_CLOUDS_3D], 1, [Define to use 3D cloud support])
|
||||
AM_CONDITIONAL(FG_USE_CLOUDS_3D, test "x$FG_USE_CLOUDS_3D" != "x")
|
||||
|
||||
# Check for MS Windows environment
|
||||
AC_CHECK_HEADER(windows.h)
|
||||
|
||||
|
|
|
@ -23,6 +23,12 @@ else
|
|||
THREAD_LIBS =
|
||||
endif
|
||||
|
||||
if FG_USE_CLOUDS_3D
|
||||
CLOUD3D_LIBS = -lsgclouds3d
|
||||
else
|
||||
CLOUD3D_LIBS =
|
||||
endif
|
||||
|
||||
if HAVE_PLIB_PSL
|
||||
SCRIPTING_LIBS = $(top_builddir)/src/Scripting/libScripting.a
|
||||
PSL_LIBS = -lplibpsl
|
||||
|
@ -91,7 +97,7 @@ fgfs_LDADD = \
|
|||
$(WEATHER_LIBS) \
|
||||
-lsgroute -lsgsky -lsgsound -lsgephem -lsgmaterial -lsgtgdb -lsgmodel \
|
||||
-lsgtiming -lsgio -lsgscreen -lsgmath -lsgbucket -lsgprops -lsgdebug \
|
||||
-lsgmagvar -lsgmisc -lsgxml -lsgsound -lsgserial \
|
||||
-lsgmagvar -lsgmisc -lsgxml -lsgsound -lsgserial $(CLOUD3D_LIBS) \
|
||||
$(THREAD_LIBS) \
|
||||
-lplibpu -lplibfnt -lplibjs -lplibnet -lplibssg -lplibsg -lplibul \
|
||||
$(network_LIBS) \
|
||||
|
|
Loading…
Add table
Reference in a new issue