[CMake] Cannot link to: SET_TARGET_PROPERTIES(foo PROPERTIES
PREFIX "")
Hendrik Sattler
post at hendrik-sattler.de
Thu Apr 26 13:27:36 EDT 2007
Am Donnerstag 26 April 2007 15:33 schrieb Bill Hoffman:
> I don't think you can link to a library without a lib prefix. Cmake
> always uses the -L -l options to link, and they require a prefix on some
> systems to work.
What are those systems that require shared objects (or dynamic linked
libraries, whatever they are called on each system) require a specific
prefix?
Windows: no
Linux: no
Well, you just have to differ between linking in general and using the -l
option of GNU ld. The latter needs a special name layout for libs, the former
doesn't.
HS
More information about the CMake
mailing list