I've got a cmake based project that can optionally build static versions of
most of its dependencies and it works fine on Linux and MSYS2+MinGW.

The problem is when I try to cross compile using MinGW on Linux. I would
expect cmake would be smart enough to know if the parent project is being
built with a particular toolchain that the external projects (also cmake
based) would use the same toolchain but that doesn't appear to be what's
happening.

Is there some setting I'm missing here?

I'm currently running 3.0.2 on Fedora linux but this has been happening on
2.8.X as well.

Thanks,
Richard
-- 

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