[CMake] Problems with implicit directories
Brad King
brad.king at kitware.com
Fri Nov 13 13:05:20 EST 2009
Aslund wrote:
> Hey everyone
>
> I am trying to compile a program needed for my course at university. The
> problem is that I get an error regarding linking to a library, as my
> knowledge of CMake is limited and search for a solution didn't give
> results, then I hope you can help me to find a solution. The error code
> i given down below.
>
> --------------------------------------------------------------------------------------------------------------
> CMake Warning at plugin/CMakeLists.txt:15 (ADD_LIBRARY):
> Cannot generate a safe linker search path for target Rob01Ex1 because
> files
> in some directories may conflict with libraries in implicit directories:
>
> link library [libyaobi.so] in /usr/lib may be hidden by files in:
> /home/aslund/Desktop/workspace/RobWork/build/../libs/Release
>
> Some of these libraries may not be found correctly.
> --------------------------------------------------------------------------------------------------------------
What version of CMake?
What link line is produced for that target when you run
make VERBOSE=1
?
-Brad
More information about the CMake
mailing list