[CMake] Installing and Exporting for multiple configurations
Matthew Woehlke
matthew.woehlke at kitware.com
Thu Apr 4 17:25:42 EDT 2013
On 2013-04-04 17:04, J Decker wrote:
>> Also, you should install to 'lib${LIB_SUFFIX}', not 'lib'. This will allow
>> you (and distros packaging your software) to set LIB_SUFFIX to separate
>> arch-specific components of 32- and 64-bit builds. E.g. on Linux,
>> lib_suffix is usually ''/'64' or '32'/'', and on Windows might be
>> ''/'/amd64'.
>
> if you're mentioning ${LIB_SUFFIX} you might as well mention ${LIB_PREFIX}
> which is the 'lib' prepended on gnuish systems.
?
I'm pretty sure my libraries don't get installed to /usr/liblib64...
Maybe you are thinking of the file name prefix, which is something
different?
--
Matthew
More information about the CMake
mailing list