MantisBT - CMake
View Issue Details
0014888CMakeCMakepublic2014-04-18 09:032016-06-10 14:31
Peter Kuemmel 
Kitware Robot 
normalmajoralways
closedmoved 
Windows
CMake 3.0 
CMake 3.0 
0014888: FeatureSummary does not recognize Qt 4
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!
No tags attached.
Issue History
2014-04-18 09:03Peter KuemmelNew Issue
2016-06-10 14:29Kitware RobotNote Added: 0042538
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042538)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.