[cmake-developers] [CMake 0011421]: FindPackage(Qt3 REQUIRED) does not fail if Qt3 is not found

Mantis Bug Tracker mantis at public.kitware.com
Tue Nov 9 04:55:44 EST 2010


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=11421 
====================================================================== 
Reported By:                Rolf Eike Beer
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   11421
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2010-11-09 04:55 EST
Last Modified:              2010-11-09 04:55 EST
====================================================================== 
Summary:                    FindPackage(Qt3 REQUIRED) does not fail if Qt3 is
not found
Description: 
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                                                        
                                                                           
                                                                           
                                     

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-11-09 04:55 Rolf Eike Beer New Issue                                    
======================================================================




More information about the cmake-developers mailing list