Mailinglist Archive: opensuse-packaging (150 mails)

< Previous Next >
[opensuse-packaging] cmake and %_libdir
  • From: Cristian Morales Vega <cmorve69@xxxxxxxx>
  • Date: Fri, 9 Oct 2009 00:08:56 +0200
  • Message-id: <8235e6f40910081508l3808ba42r6ae219716200f377@xxxxxxxxxxxxxx>
Trying to package OpenCV 2.0 I found this line in the CMakeLists.txt file:

set(CMAKE_LIB_DIRS_CONFIGCMAKE "${CMAKE_INSTALL_PREFIX}/lib")

that ends specifying the libraries install dir.
It should be fixed... but doesn't seems to be a standard variable in
cmake to specify the libdir. The only thing I have found is this
thread from 2007
(http://lists.opensuse.org/opensuse-buildservice/2007-08/msg00332.html)...
but as pointed by Andreas LIB_SUFFIX isn't an standard variable.
Looking at the Fedora %cmake macro
(https://fedoraproject.org/wiki/PackagingDrafts/cmake) this doesn't
looks any better.

So... two years after cmake still hasn't a way to specify the
libraries install directory? I can't submit upstream a patch with a
non standard variable. I'm supposed to use LIB_SUFFIX and maintain the
patch forever?
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups