[Kst] Re: cmake

Peter Kümmel syntheticpp at gmx.net
Fri Feb 18 23:14:32 CET 2011

On 18.02.2011 22:26, Peter Kümmel wrote:
> On 18.02.2011 21:46, Matthew D Truch wrote:
>> I'm working on packaging kst2 on Fedora with cmake.
>> kst's cmake does seem to honor the -DCMAKE_INSTALL_PREFIX:PATH= option,
>> where I could adjust the prefix of installation.
> Yes, CMAKE_INSTALL_PREFIX is only overwritten when you set kst_install_prefix:
> if(kst_install_prefix)
> 	set(CMAKE_INSTALL_PREFIX ${kst_install_prefix} CACHE PATH "User's choice for install prefix" FORCE)
> endif()
>> However, it doesn't honor the -DCMAKE_INSTALL_LIBDIR:PATH= (and related)
>> options.  On Fedora, 64 bit systems (which can also run 32 bit apps)
>> install libraries in /usr/lib64 to allow for parallel installation of the
>> 32-bit libraries in /usr/lib.  Can the cmake rules be modified to honor
>> this option?
> CMAKE_INSTALL_LIBDIR isn't overwritten, so if CMAKE_INSTALL_LIBDIR is supported
> by cmake it should work. If CMAKE_INSTALL_LIBDIR isn't supported we could add it
> or maybe kst_install_libdir?

I added kst_install_libdir (lib was hardcoded).


More information about the Kst mailing list