[CMake] target_link_libraries replacing fully-qualified library with -l<x>
Brad King
brad.king at kitware.com
Thu Jan 29 10:06:59 EST 2015
On 01/29/2015 09:39 AM, Chris Green wrote:
> Assuming that the list of implicit link directories is internal to CMake
> and nobody has added to it by mistake
CMake detects it from the compiler. Run
grep IMPLICIT_LINK_DIRECTORIES CMakeFiles/*/CMake*Compiler.cmake
in the top of the build tree to see the detected directories.
> then I'm guessing there's no SONAME:
It can only be this if something tells CMake that it has no SONAME.
That can only happen when it is an imported target with an appropriate
property set. CMake doesn't try to read the binary IIRC.
-Brad
More information about the CMake
mailing list