diff options
author | Olli Salli <ollisal@gmail.com> | 2011-01-10 15:37:04 +0200 |
---|---|---|
committer | Olli Salli <ollisal@gmail.com> | 2011-01-10 15:37:04 +0200 |
commit | 6fdb82fd34788ec349405d78447a1cae90a09e69 (patch) | |
tree | 74bcfd6427c25177de9d6120d8ec0ec75fd36bb7 /cmake/modules | |
parent | c0e571e03b9ef33ede8c6429fcea4a3ea94a5858 (diff) |
Fix Werror etc disable mechanism to check for a release version number directly
Diffstat (limited to 'cmake/modules')
-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 c010ae79..217691a6 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 |