changeset 2009:a483225a5948

Add quotes in the C++ file, remove it from the CMakeLists.txt file, so we have the desired results without interfering with the rest of the installation process
author mafm
date Sun, 30 Oct 2011 23:28:16 +0000
parents 62f88a7d0ed5
children 27f65797b817
files CMakeLists.txt src/gui/config.h.in
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Sun Oct 30 22:46:00 2011 +0000
+++ b/CMakeLists.txt	Sun Oct 30 23:28:16 2011 +0000
@@ -140,7 +140,7 @@
 ENDIF()
 
 if(UNIX)
-  set(CFG_FILES_DIR "\"${CMAKE_INSTALL_PREFIX}/share/games/sumwars/\"")
+  set(CFG_FILES_DIR "${CMAKE_INSTALL_PREFIX}/share/games/sumwars/")
 else()
   set(CFG_FILES_DIR "./")
 endif()
--- a/src/gui/config.h.in	Sun Oct 30 22:46:00 2011 +0000
+++ b/src/gui/config.h.in	Sun Oct 30 23:28:16 2011 +0000
@@ -3,6 +3,6 @@
 
 // Generated file, do not edit!  Make changes to config.h.in instead.
 
-#define CFG_FILES_DIR @CFG_FILES_DIR@
+#define CFG_FILES_DIR "@CFG_FILES_DIR@"
 
 #endif