aboutsummaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
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