summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlli Salli <ollisal@gmail.com>2011-01-10 13:37:04 (GMT)
committerOlli Salli <ollisal@gmail.com>2011-01-10 13:47:07 (GMT)
commitd97ada068bcd326f053afe46ecbf304c259edeaf (patch)
treeee943459d12f37617e36499e8caa871549a277d4
parent2f509bbd7ec69630aecfb2da4e8e549de393f1df (diff)
downloadtelepathy-qt4-d97ada068bcd326f053afe46ecbf304c259edeaf.tar.gz
telepathy-qt4-d97ada068bcd326f053afe46ecbf304c259edeaf.tar.xz
Fix Werror etc disable mechanism to check for a release version number directly
-rw-r--r--cmake/modules/TelepathyDefaults.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/modules/TelepathyDefaults.cmake b/cmake/modules/TelepathyDefaults.cmake
index c010ae7..217691a 100644
--- a/cmake/modules/TelepathyDefaults.cmake
+++ b/cmake/modules/TelepathyDefaults.cmake
@@ -49,11 +49,11 @@ if(CMAKE_COMPILER_IS_GNUCXX)
set(DEPRECATED_DECLARATIONS_FLAGS)
endif (CXX_DEPRECATED_DECLARATIONS)
- if(${CMAKE_BUILD_TYPE} STREQUAL Release)
+ if(${TP_QT4_NANO_VERSION} EQUAL 0)
set(NOT_RELEASE 0)
- else(${CMAKE_BUILD_TYPE} STREQUAL Release)
+ else(${TP_QT4_NANO_VERSION} EQUAL 0)
set(NOT_RELEASE 1)
- endif(${CMAKE_BUILD_TYPE} STREQUAL Release)
+ endif(${TP_QT4_NANO_VERSION} EQUAL 0)
set(desired
all