public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] cmake.eclass turns OFF essential flags
@ 2011-04-14 10:49 Kfir Lavi
  0 siblings, 0 replies; only message in thread
From: Kfir Lavi @ 2011-04-14 10:49 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 960 bytes --]

Hi,
I'm using cmake as my build system.
I have created few cmake modules that are installed in another package.
I now want to use those modules, when running cmake for current install.
Cmake finds extra modules using CMAKE_MODULE_PATH.
When running cmake manually, things work well, but when it's run under
an ebuild which use:
EAPI="3"
inherit cmake-utils flag-o-matic

The emerge will stop complaining that it can't find the extra modules.
Printing the CMAKE_MODULE_PATH shows that it is OFF.
What I understand is: cmake.eclass will turn OFF all the flags.
I have looked in the code, but didn't find the place which is turning
all flags off.

Is there a way to solve this problem?
Maybe a flag for cmake.eclass that will cause respecting the users
initial settings?

I can solve this problem instantly by installing my extra cmake modules into
the main
cmake modules directory, but then I'm mixing 2 packages, which I really
don't
want to do.

Regards,
Kfir

[-- Attachment #2: Type: text/html, Size: 1121 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-14 10:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-14 10:49 [gentoo-dev] cmake.eclass turns OFF essential flags Kfir Lavi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox