Hi all,

I needed to tweak the find sdl modules to use them to cross-compile
for the Wii, so I decided to rewrite them in a unified module (used
like: find_package (SDL REQUIRED ttf gfx image net)). I'm posting it
here in case anyone finds it useful. It's not very polished, but I
tried to keep all the cases of the original modules. It works for me
at least under Linux and Windows. It uses some helper macros of a
module from the cmake wiki which can be found here:
http://zi.fi/cmake/Modules/LibFindMacros.cmake

Hope it's useful

Attachment: FindSDL.cmake
Description: Binary data

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to