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                                    
======================================================================

_______________________________________________
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to