summaryrefslogtreecommitdiff
path: root/src/cmake_config.h.in
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-07-23 15:23:33 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-07-23 15:23:33 +0300
commitaef1332e4293d873ce5b827785daa3097209c5e6 (patch)
tree0b8d6c511438b44ab8c0bbd540760cdb99a74217 /src/cmake_config.h.in
parent16fc8b5fc2dbf8f01f143a960cb04828d6e6bc48 (diff)
downloadminetest-aef1332e4293d873ce5b827785daa3097209c5e6.tar.gz
minetest-aef1332e4293d873ce5b827785daa3097209c5e6.tar.bz2
minetest-aef1332e4293d873ce5b827785daa3097209c5e6.zip
Improve build configuration options
Diffstat (limited to 'src/cmake_config.h.in')
-rw-r--r--src/cmake_config.h.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/cmake_config.h.in b/src/cmake_config.h.in
index 054cca165..c2bdc9670 100644
--- a/src/cmake_config.h.in
+++ b/src/cmake_config.h.in
@@ -4,16 +4,18 @@
#define CMAKE_CONFIG_H
#define CMAKE_PROJECT_NAME "@PROJECT_NAME@"
-#define CMAKE_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@"
#define CMAKE_VERSION_STRING "@VERSION_STRING@"
+#define CMAKE_RUN_IN_PLACE @RUN_IN_PLACE@
+#define CMAKE_USE_GETTEXT @USE_GETTEXT@
+#define CMAKE_USE_SOUND @USE_SOUND@
+#define CMAKE_STATIC_SHAREDIR "@SHAREDIR@"
+
#ifdef NDEBUG
#define CMAKE_BUILD_TYPE "Release"
#else
#define CMAKE_BUILD_TYPE "Debug"
#endif
-#define CMAKE_USE_GETTEXT @USE_GETTEXT@
-#define CMAKE_USE_SOUND @USE_SOUND@
-#define CMAKE_BUILD_INFO "VER=@VERSION_STRING@ BUILD_TYPE="CMAKE_BUILD_TYPE" RUN_IN_PLACE=@RUN_IN_PLACE@ USE_GETTEXT=@USE_GETTEXT@ USE_SOUND=@USE_SOUND@ INSTALL_PREFIX=@CMAKE_INSTALL_PREFIX@"
+#define CMAKE_BUILD_INFO "VER=@VERSION_STRING@ BUILD_TYPE="CMAKE_BUILD_TYPE" RUN_IN_PLACE=@RUN_IN_PLACE@ USE_GETTEXT=@USE_GETTEXT@ USE_SOUND=@USE_SOUND@ STATIC_SHAREDIR=@SHAREDIR@"
#endif