[CMake] MinGW Link with -l instead of path?

Hendrik Sattler post at hendrik-sattler.de
Thu Apr 4 09:03:17 EDT 2013


Am 2013-04-03 17:25, schrieb J Decker:
> All of these articles say the way to avoid having an absolute path
> stored in the linked output is to use -L <dir> -l <lib> ... which is
> definatly not what cmake is producing.  Reflecting on this, maybe I
> can replace target_link_libraries with manually specified link_flags;
> maybe some sort of similarly named macro

Did you try after a call to "make install"? E.g. a local try with "make 
install DESTDIR=localtest"

HS



More information about the CMake mailing list