View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013819CMakeCMakepublic2012-12-29 00:122013-05-06 09:32
ReporterChris 
Assigned ToBenjamin Eikel 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 2.8.10.2 
Target VersionFixed in Version 
Summary0013819: findSDL_image.cmake is failing - Regression from CMake 2.8.9
DescriptionfindSDL_image.cmake is failing when using SDLDIR environment variable to define the path where SDL and SDL_image are located.

this appears to be a regression from 2.8.9 since uninstalling 2.8.10.2 and installing 2.8.9 resolves the issue for me.
Steps To ReproduceSet environment variable pointing to your SDL/SDL_image installation. for example:

 <SDLDIR>/bin
 <SDLDIR>/include
 <SDLDIR>/lib

add "Find_Package ( SDL_image REQUIRED )" to a CMakeLists.txt and it will fail
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0031954)
Rolf Eike Beer (developer)
2012-12-29 05:09

Broken in:

commit 9ed24c5316fc4e9b56e3b491dee2f88b2cbb6f17
Author: Benjamin Eikel <cmake@eikel.org>
Date: Tue Sep 4 17:20:37 2012 +0200

    FindSDL: Remove from find_... calls PATHS that are set by default
    
    Use PATH_SUFFIXES to add SDL parts to standard paths.


Code before:

 find_path(SDL_INCLUDE_DIR SDL.h
   HINTS
     ENV SDLDIR
   PATH_SUFFIXES include/SDL include
 ...

Code after:

 find_path(SDL_INCLUDE_DIR SDL.h
   HINTS
     ENV SDLDIR
   ...
   PATH_SUFFIXES SDL SDL12 SDL11
(0031956)
Benjamin Eikel (developer)
2012-12-31 11:16

http://cmake.org/gitweb?p=cmake.git;a=commit;h=fb864d6e03efdb82f8f2744972ad14c012d86cc7 [^]
(0032994)
Robert Maynard (manager)
2013-05-06 09:32

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2012-12-29 00:12 Chris New Issue
2012-12-29 05:09 Rolf Eike Beer Note Added: 0031954
2012-12-31 11:12 Benjamin Eikel Assigned To => Benjamin Eikel
2012-12-31 11:12 Benjamin Eikel Status new => assigned
2012-12-31 11:14 Benjamin Eikel Note Added: 0031955
2012-12-31 11:16 Benjamin Eikel Note Deleted: 0031955
2012-12-31 11:16 Benjamin Eikel Note Added: 0031956
2012-12-31 11:16 Benjamin Eikel Status assigned => resolved
2012-12-31 11:16 Benjamin Eikel Resolution open => fixed
2013-05-06 09:32 Robert Maynard Note Added: 0032994
2013-05-06 09:32 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team