bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18926: cmake-build-system should set CMAKE_INSTALL_LIBDIR and CMAKE_


From: Ludovic Courtès
Subject: bug#18926: cmake-build-system should set CMAKE_INSTALL_LIBDIR and CMAKE_PREFIX_PATH
Date: Sun, 01 Mar 2015 15:35:51 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Andreas Enge <address@hidden> skribis:

> What would be desirable is the following:
> In the definition of a search path, we need an additional transformation
> (if it is not already there). We need to look for the regular expression
>    (.+)/(lib|lib64|share)/.+\.cmake$
> or maybe
>    (.+)/(lib|lib/[^/]+|share)/.+\.cmake$
> and put
>    \1
> into CMAKE_PREFIX_PATH.

That’s not currently possible using the search path mechanism (and I
can’t imagine such weird semantics.)

I can imagine two solutions, in order of preference:

   1. Find CMAKE_ environment variables that can be set using the search
      path mechanism.  Many environment variables are documented, is
      there really none that we can use?

   2. Add custom code to cmake-build-system.scm instead of using the
      search path mechanism.

WDYT?

Thanks for taking the time to investigate!

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]