summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 688605e)
raw | patch | inline | side by side (parent: 688605e)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Fri, 4 Apr 2008 09:40:51 +0000 (09:40 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Fri, 4 Apr 2008 09:40:51 +0000 (09:40 +0000) |
CMakeLists.txt | patch | blob | history | |
config.h.cmake | patch | blob | history |
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cd0fff9d6cd00b9840c263c0038669868c06e6b0..58ab4de057415a10bcd1a5837dfeedf19641234c 100644 (file)
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
# Set to true if compiler/linker should enable profiling:\r
#SET(ENABLE_PROFILING TRUE)\r
\r
+# Probably best to move all these path things to a single file\r
+IF(WIN32)\r
+ SET(PACKAGE_LOCALE_DIR "locale")\r
+ELSEIF(WIN32)\r
+ # TODO: check and change this to correct value:\r
+ SET(PACKAGE_LOCALE_DIR "locale")\r
+ENDIF(WIN32)\r
+\r
+\r
SET(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib)\r
SET(CMAKE_SKIP_RPATH:BOOL OFF)\r
SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/CMakeScripts)\r
diff --git a/config.h.cmake b/config.h.cmake
index 1812864d37d545b263e105884461133f1f17f18d..beacf65edd7834de68012286dfbb7f06b275f43e 100644 (file)
--- a/config.h.cmake
+++ b/config.h.cmake
#cmakedefine PACKAGE_BUGREPORT ""
/* Localization directory */
-#cmakedefine PACKAGE_LOCALE_DIR
+#define PACKAGE_LOCALE_DIR "${PACKAGE_LOCALE_DIR}"
/* Define to the full name of this package. */
#define PACKAGE_NAME "${PROJECT_NAME}"