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:
parent
e1b65590cb
commit
0b1c356837
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@
|
||||||
#cmakedefine ENABLE_JSBSIM
|
#cmakedefine ENABLE_JSBSIM
|
||||||
|
|
||||||
#define PKGLIBDIR "@FG_DATA_DIR@"
|
#define PKGLIBDIR "@FG_DATA_DIR@"
|
||||||
|
#define FG_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@"
|
||||||
#define WEB_BROWSER "@WEB_BROWSER@"
|
#define WEB_BROWSER "@WEB_BROWSER@"
|
||||||
|
|
||||||
// Ensure FG_HAVE_xxx always have a value
|
// Ensure FG_HAVE_xxx always have a value
|
||||||
|
|
Loading…
Reference in a new issue