From kde-commits Tue Apr 30 21:22:01 2013 From: David Faure Date: Tue, 30 Apr 2013 21:22:01 +0000 To: kde-commits Subject: kdesupport/cpptoxml Message-Id: <20130430212201.6C543AC87A () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=136735681717153 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.")