diff options
author | Andre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk> | 2011-01-31 13:32:58 -0200 |
---|---|---|
committer | Andre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk> | 2011-01-31 13:32:58 -0200 |
commit | 83862f5d56ee655d1c797fcbf9c1312704261d51 (patch) | |
tree | 0653e15d2e0303b8a1d15ab5f83a0c36be8b1dcd /cmake | |
parent | 61c17867c7a7f99c6f4f242be0b8d131d9c64dbd (diff) |
Fix Werror etc disable mechanism to check for a release version number directly.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/TelepathyDefaults.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/modules/TelepathyDefaults.cmake b/cmake/modules/TelepathyDefaults.cmake index 1e70ef3..6998a9d 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_YELL_NANO_VERSION} EQUAL 0) set(NOT_RELEASE 0) - else(${CMAKE_BUILD_TYPE} STREQUAL Release) + else(${TP_QT4_YELL_NANO_VERSION} EQUAL 0) set(NOT_RELEASE 1) - endif(${CMAKE_BUILD_TYPE} STREQUAL Release) + endif(${TP_QT4_YELL_NANO_VERSION} EQUAL 0) set(desired all |