summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-07-07 10:01:18 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-07-07 10:01:18 +0200
commitaa39c0c7ca9194f7f735911f669948b9a31ccc4c (patch)
tree231ff21e4a604bce11ec6cb6bad5c041ca57e828 /src/CMakeLists.txt
parent8d68630eb8b72a6540f3b6e709684eafff2ec0d4 (diff)
downloadweechat-aa39c0c7ca9194f7f735911f669948b9a31ccc4c.zip
Fix build with cmake: quotes missing around version
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 7f93b16f4..562a3844a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -104,7 +104,7 @@ if(COMMAND cmake_policy)
cmake_policy(SET CMP0005 NEW)
endif(COMMAND cmake_policy)
-ADD_DEFINITIONS(-DWEECHAT_VERSION="${VERSION}")
+ADD_DEFINITIONS(-DWEECHAT_VERSION='"${VERSION}"')
ADD_SUBDIRECTORY( core )
LIST(APPEND STATIC_LIBS weechat_core)