[cmake-developers] reopen bug report 11303
Brad King
brad.king at kitware.com
Fri May 31 12:44:53 EDT 2013
On 05/31/2013 11:09 AM, Patrick Spendrin wrote:
> I cannot really think of a good solution for that, simply because cmake
> needs to know the 32/64bitness of the compiler, and at least for gcc it
> does not do so?
CMake does know the target architecture once a language has been enabled
(after the project or enable_language command).
The find_library command tries only the view matching the target
architecture of the build:
http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmFindCommon.cxx;hb=v2.8.11#l381
-Brad
More information about the cmake-developers
mailing list