1
0
Fork 0

Make the FG installation prefix available to C++ code via config.h

CMAKE_INSTALL_PREFIX is now available as FG_INSTALL_PREFIX from
config.h.
This commit is contained in:
Florent Rougon 2016-12-26 08:32:35 +01:00
parent e1b65590cb
commit 0b1c356837

View file

@ -33,6 +33,7 @@
#cmakedefine ENABLE_JSBSIM
#define PKGLIBDIR "@FG_DATA_DIR@"
#define FG_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@"
#define WEB_BROWSER "@WEB_BROWSER@"
// Ensure FG_HAVE_xxx always have a value