[CMake] Import libraries prefix bug under windows?

Brandon Van Every bvanevery at gmail.com
Wed Nov 7 12:16:24 EST 2007


On Nov 6, 2007 6:04 PM, Ronan Collobert <collober at nec-labs.com> wrote:
>
> I also changed the prefixes of the dll using:
>   SET(CMAKE_SHARED_LIBRARY_PREFIX "lib")
>   SET(CMAKE_IMPORT_LIBRARY_PREFIX "lib")

I've never used this mechanism to set library prefixes.  I have always
used SET_TARGET_PROPERTIES, using the PREFIX, SUFFIX, IMPORT_PREFIX,
and IMPORT_SUFFIX properties.  Where is it documented that you're
supposed to be able to affect the output by SETting global variables?


Cheers,
Brandon Van Every


More information about the CMake mailing list