The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12467 
====================================================================== 
Reported By:                ogronom
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12467
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-09-19 11:36 EDT
Last Modified:              2011-09-19 11:36 EDT
====================================================================== 
Summary:                    Both FindSDL.cmake and FindSDL_mixer.cmake does not
honor REQUIRED
Description: 
Build does not terminate while using find_package(. REQUIRED) and there is no
sdl_mixer or sdl libraries in the system.

Steps to Reproduce: 
cmake_minimum_required(VERSION 2.8)

find_package(SDL_mixer REQUIRED)
find_package(SDL REQUIRED)

if (NOT SDL_mixer_FOUND)
        message("Possible Bug in SDL_mixer")
endif (NOT SDL_mixer_FOUND)


if (NOT SDL_FOUND)
        message("Possible Bug in SDL")
endif (NOT SDL_FOUND)

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-09-19 11:36 ogronom        New Issue                                    
======================================================================

_______________________________________________
cmake-developers mailing list
[email protected]
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to