MantisBT - CMake
View Issue Details
0005176CMakeCMakepublic2007-06-13 10:292016-06-10 14:30
Gonzalo Garramuno 
Bill Hoffman 
normalmajoralways
closedmoved 
 
 
0005176: FIND_LIBRARY does not respect OS architecture
Currently, FIND_LIBRARY() is unaware of the OS architecture it is being compiled upon.

Thus, for example, if -m32 is being used to compile for 32 bits, FIND_LIBRARY() will incorrectly find 64-bits libraries.

This will lead the compiler to emit a warning during linking if an equivalent 32 bits library is present. If an equivalent 32 bits library is missing linking will fail (ie. cmake failed to catch the issue).

A simple fix might involve rearranging paths in Unx
No tags attached.
Issue History
2016-06-10 14:27Kitware RobotNote Added: 0041368
2016-06-10 14:27Kitware RobotStatusassigned => resolved
2016-06-10 14:27Kitware RobotResolutionopen => moved
2016-06-10 14:30Kitware RobotStatusresolved => closed

Notes
(0008045)
Alex Neundorf   
2007-07-12 11:11   
This seems to be be related to 0005324.
(0041368)
Kitware Robot   
2016-06-10 14:27   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.