diff options
-rw-r--r-- | modules/ECMQtFramework.cmake | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/modules/ECMQtFramework.cmake b/modules/ECMQtFramework.cmake index 8a1d0ae0..68985892 100644 --- a/modules/ECMQtFramework.cmake +++ b/modules/ECMQtFramework.cmake @@ -1,10 +1,3 @@ - -# We need to make sure this file is included before Qt found. -# Otherwise QT_USE_IMPORTED_TARGETS would have no effect. -# ### Temporarily disabled until KDE Frameworks includes this file before finding Qt. -# if (QT4_FOUND) -# message(SEND_ERROR "This file must be included before finding the Qt package.") -# endif() #- Automatic configuration of a project as a Qt framework. # # This module can be used to simplify creation of quality frameworks written in Qt. @@ -88,6 +81,14 @@ # # 15) The FeatureSummary module is included. +# We need to make sure this file is included before Qt found. +# Otherwise QT_USE_IMPORTED_TARGETS would have no effect. +# ### Temporarily disabled until KDE Frameworks includes this file before finding Qt. +# if (QT4_FOUND) +# message(SEND_ERROR "This file must be included before finding the Qt package.") +# endif() + + include(FeatureSummary) include(GenerateExportHeader) |