[CMake] 32 bits compilation on x64 platform - how to find system libraries
Mathieu Malaterre
mathieu.malaterre at gmail.com
Fri Dec 4 10:58:21 EST 2009
On Fri, Dec 4, 2009 at 4:39 PM, Olivier Pierard
<olivier.pierard at 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
More information about the CMake
mailing list