From 5c01b7f8c234131d00f6104abf7d1815aa1557a4 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Wed, 16 May 2012 23:31:38 +0200 Subject: Set the _FOUND variable correctly for modules. --- modules/ECMQt4To5Porting.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/ECMQt4To5Porting.cmake b/modules/ECMQt4To5Porting.cmake index 8f09d442..3efea14a 100644 --- a/modules/ECMQt4To5Porting.cmake +++ b/modules/ECMQt4To5Porting.cmake @@ -173,6 +173,7 @@ foreach(_module ${_qt_modules}) set(QT_QT${_module_upper}_LIBRARIES ${Qt5${_module}_LIBRARIES}) set(QT_QT${_module_upper}_LIBRARY ${QT_QT${_module_upper}_LIBRARIES}) list(APPEND QT_INCLUDES ${Qt5${_module}_INCLUDE_DIRS}) + set(QT_QT${_module_upper}_FOUND ${Qt5${_module}_FOUND}) endforeach() list(APPEND QT_QTCORE_LIBRARIES ${Qt5Concurrent_LIBRARIES}) -- cgit v1.2.1