MantisBT - CMake
View Issue Details
0011421CMakeModulespublic2010-11-09 04:552011-01-12 07:47
Rolf Eike Beer 
Alex Neundorf 
normalminoralways
closedfixed 
CMake 2.8.3 
CMake 2.8.4CMake 2.8.4 
0011421: FindPackage(Qt3 REQUIRED) does not fail if Qt3 is not found
I use this CMakeLists.txt on a Linux (openSUSE 11.3) system without Qt3 installed:

CMAKE_MINIMUM_REQUIRED(VERSION 2.6.4)
SET(QT_MT_REQUIRED TRUE)
FIND_PACKAGE(Qt3 REQUIRED)
MESSAGE(STATUS ${QT_INCLUDE_DIR})

The output is:

-- QT_INCLUDE_DIR-NOTFOUND
-- Configuring done
-- Generating done
No tags attached.
Issue History
2010-11-09 04:55Rolf Eike BeerNew Issue
2010-11-09 15:41Alex NeundorfAssigned To => Alex Neundorf
2010-11-09 15:41Alex NeundorfStatusnew => assigned
2010-11-09 15:41Alex NeundorfCategoryCMake => Modules
2010-11-09 15:56Alex NeundorfNote Added: 0023109
2010-11-09 15:56Alex NeundorfStatusassigned => closed
2010-11-09 15:56Alex NeundorfResolutionopen => fixed
2011-01-12 07:47David ColeFixed in Version => CMake 2.8.4
2011-01-12 07:47David ColeTarget Version => CMake 2.8.4

Notes
(0023109)
Alex Neundorf   
2010-11-09 15:56   
Fixed and pushed to next.

Alex