The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14888 
====================================================================== 
Reported By:                Peter Kuemmel
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14888
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Target Version:             CMake 3.0
====================================================================== 
Date Submitted:             2014-04-18 15:03 CEST
Last Modified:              2014-04-18 15:03 CEST
====================================================================== 
Summary:                    FeatureSummary does not recognize Qt 4
Description: 
CMake file:

cmake_minimum_required(VERSION 2.8.9)
include(FeatureSummary)
set(QT_MIN_VERSION 4.7.0)
find_package(Qt4 ${QT_MIN_VERSION} REQUIRED QtCore QtGui QtNetwork)
find_package(Qt4 ${QT_MIN_VERSION} QUIET COMPONENTS QtScript QtScriptTools
QtWebKit QtDesigner QtSvg QtTest)
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES
FATAL_ON_MISSING_REQUIRED_PACKAGES)



Output:

-- Building for: Visual Studio 12 2013
-- The C compiler identification is MSVC 18.0.30219.0
.
.

-- Found Qt4: D:/qt4/bin/qmake.exe (found suitable version "4.8.6", minimum
required is "4.7.0")
--
-- The following REQUIRED packages have not been found:

 * Qt4 (required version >= 4.7.0)

CMake Error at C:/Program
Files/CMake/share/cmake-3.0/Modules/FeatureSummary.cmake:537 (message):
  feature_summary() Error: REQUIRED package(s) are missing, aborting CMake
  run.
Call Stack (most recent call first):
  CMakeLists.txt:8 (feature_summary)


-- Configuring incomplete, errors occurred!
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-04-18 15:03 Peter Kuemmel  New Issue                                    
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to