Am Sonntag 05 Juli 2009 19:36:44 schrieb du...@identicalsoftware.com: > mingw32-SDL is installed. Looking at the FindSDL.cmake and the > CMAKE_FIND_ROOT_PATH directory I can see why it doesn't find it. The > /usr/i686-pc-mingw32 directory has bin, lib, and sys-root. In > sys-root/mingw, you have bin, include, lib, and share. The FIND_PATH > in FindSDL.cmake is obviously not looking in > sys-root/mingw/include/SDL. Has anyone used mingw, SDL and cmake on > Fedora? I don't see how you can configure that to pass.
Why should it. You obviously have an incomplete root path in your toolchain file. Please note that CMAKE_FIND_ROOT_PATH is a _list_. In your case, you must add /usr/i686-pc-mingw32/sys-root/mingw. You may also have to call include_directories() for all standard include paths in your root paths. HS _______________________________________________ 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