tSet package name and directories. - vaccinewars - be a doctor and try to vaccinate the world
HTML git clone git://src.adamsgaard.dk/vaccinewars
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit cbfeb6799bcf3b235d8e4c860f8d976280dd7014
DIR parent b570a97ae98e6c0ddc93dd3230e902a0c68ccd6d
HTML Author: Ben Webb <ben@salilab.org>
Date: Fri, 27 Mar 2015 16:51:33 -0700
Set package name and directories.
Diffstat:
M CMakeLists.txt | 1 +
M config-cmake.h.in | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)
---
DIR diff --git a/CMakeLists.txt b/CMakeLists.txt
t@@ -4,6 +4,7 @@ project(dopewars)
set(VERSION "SVN")
include(CheckIncludeFiles)
+include(GNUInstallDirs)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
${PROJECT_SOURCE_DIR}/cmake_modules)
DIR diff --git a/config-cmake.h.in b/config-cmake.h.in
t@@ -20,10 +20,10 @@
#undef CYGWIN
/* The directory containing the docs and sounds */
-#undef DPDATADIR
+#define DPDATADIR "@CMAKE_INSTALL_FULL_DATADIR@"
/* The directory containing the high score file */
-#undef DPSCOREDIR
+#define DPSCOREDIR "@CMAKE_INSTALL_FULL_LOCALSTATEDIR@"
/* Define to 1 if translation of program messages to the user's native
language is requested. */
t@@ -143,7 +143,7 @@
#undef NETWORKING
/* Name of package */
-#undef PACKAGE
+#define PACKAGE "@PROJECT_NAME@"
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT