summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornicolas.dufresne <nicolas.dufresne@c587cffe-e639-0410-9787-d7902ae8ed56>2010-08-19 19:50:56 +0000
committernicolas.dufresne <nicolas.dufresne@c587cffe-e639-0410-9787-d7902ae8ed56>2010-08-19 19:50:56 +0000
commit6d525267560fa3e1e81c6e55e9bb58c232fb4d38 (patch)
treeafac34196ad692bbb84ee080a68d1f95a75b127d
parent723c23d21cea7b9ce615f8bcc950e93591cfb307 (diff)
downloadlibproxy-6d525267560fa3e1e81c6e55e9bb58c232fb4d38.tar.gz
Add "" to avoid syntact error when variable is unset
git-svn-id: http://libproxy.googlecode.com/svn/trunk@738 c587cffe-e639-0410-9787-d7902ae8ed56
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 58d9712..bf7570c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -29,7 +29,7 @@ include(cmake/paths.cmk)
option(FORCE_SYSTEM_LIBMODMAN "Force using system libmodman" OFF)
find_package(libmodman QUIET)
if(LIBMODMAN_FOUND)
- if(${LIBMODMAN_VERSION_MAJOR} STREQUAL "2")
+ if("${LIBMODMAN_VERSION_MAJOR}" STREQUAL "2")
message(STATUS "Building with system libmodman")
else()
message(FATAL_ERROR "Found incompatible libmodman on your system (libmodman 2.X is needed)")