[CMake] Library Paths

Michael.Schmidt at L-3com.com Michael.Schmidt at L-3com.com
Mon Jul 19 13:45:54 EDT 2010


When I do an in-source build, everything runs ok.  However, I have
issues with an out-of-source build.  One of my libraries uses another
one of my libraries.  When I run the executable it complains "cannot
open shared object file: No such file or directory."  It's looking for
the library in the source directory and not the build tree.  I've read
the wiki page on setting the rpath, but none of those combinations seem
to work.

I appreciate any help.

Thanks,
Mike


More information about the CMake mailing list