On Fri, Dec 4, 2009 at 4:39 PM, Olivier Pierard
<olivier.pier...@cenaero.be> wrote:
> Dear all,
>
> In order to perform 32 bits compilation on 64 bits platform, how can I
> tell that all find_libraries for which no path is specified to look in
> /usr/lib instead of /usr/lib64 ?  Is there a configuration variable for
> cmake platform or a default searching directories variable ?
>

This is called CMAKE_FIND_ROOT_PATH

See for example:

http://gdcm.svn.sf.net/viewvc/gdcm/trunk/CMake/Toolchain-gcc-m32.cmake?view=markup

You man need to read:
http://www.cmake.org/Wiki/CMake_Cross_Compiling

Cheers
-- 
Mathieu
_______________________________________________
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