aboutsummaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2011-01-22 19:48:30 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2011-01-22 20:18:46 +0100
commitf5079833eb968216008942dcc885842c13f15dbc (patch)
tree091bebc2ac327638e19e84db19d2f72bc7937070 /config.h.in
parent37e2c5f01f2ee00af3a10311b69f66f8653b42db (diff)
downloadlogdiag-f5079833eb968216008942dcc885842c13f15dbc.tar.gz
logdiag-f5079833eb968216008942dcc885842c13f15dbc.tar.xz
logdiag-f5079833eb968216008942dcc885842c13f15dbc.zip
Set up the project for NSIS.
Make lines in the LICENSE file shorter, so they don't wrap there.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index a51203c..9f15b52 100644
--- a/config.h.in
+++ b/config.h.in
@@ -14,6 +14,8 @@
#if ${OPTION_NOINSTALL}
/* For developers. */
#define PROJECT_SHARE_DIR "${CMAKE_SOURCE_DIR}/share/"
+#elif defined (_WIN32)
+ #define PROJECT_SHARE_DIR "share/${PROJECT_NAME}/"
#else
#define PROJECT_SHARE_DIR "${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME}/"
#endif