diff --git a/cmake/modules/TelepathyDefaults.cmake b/cmake/modules/TelepathyDefaults.cmake
index d34b24d..eb51454 100644
--- a/cmake/modules/TelepathyDefaults.cmake
+++ b/cmake/modules/TelepathyDefaults.cmake
@@ -59,11 +59,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)
         set(DEPRECATED_DECLARATIONS_FLAGS)
     endif (CXX_DEPRECATED_DECLARATIONS)
 
-    if(${TP_QT_NANO_VERSION} EQUAL 0)
-        set(NOT_RELEASE 0)
-    else(${TP_QT_NANO_VERSION} EQUAL 0)
-        set(NOT_RELEASE 1)
-    endif(${TP_QT_NANO_VERSION} EQUAL 0)
+    set(NOT_RELEASE 0)
 
     set(desired
         all
