[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesupport/cpptoxml
From:       David Faure <faure () kde ! org>
Date:       2013-04-30 21:22:01
Message-ID: 20130430212201.6C543AC87A () svn ! kde ! org
[Download RAW message or body]

SVN commit 1351794 by dfaure:

Add option QT4_BUILD


 M  +2 -1      CMakeLists.txt  


--- trunk/kdesupport/cpptoxml/CMakeLists.txt #1351793:1351794
@@ -26,8 +26,9 @@
 
 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY  ${CMAKE_BINARY_DIR}/bin) 
 
+option(QT4_BUILD "Force building with Qt4 even if Qt5 is found")
 find_package(Qt5Core QUIET)
-if (Qt5Core_FOUND)
+if (Qt5Core_FOUND AND NOT QT4_BUILD)
 
   message(STATUS "TODO: port cpptoxml to Qt5. Heavy usage of QAtomicPointer, whose API has changed.")
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic