Hi!

I have a cross compiler, installed into /opt/cross, which is compiled by me. This cross compiler (gcc) is sysroot aware, which means that every header and library is installed into /opt/cross/<target>.

In order to get cmake to find SDL (both SDL1 and SDL2) I need to specify SDLDIR. The project I'm using (called hatari, a Atari ST(e) emulator) is also using other libraries like readline and png, which cmake have no problem finding.

Is this a bug in cmake? Right now the cmake version I'm using is 2.8.12.2, but this problem have been there since I can remember.

--
chs

--

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to