[jhbuild/mcatanzaro/cmake-prefix-path] env: set CMAKE_PREFIX_PATH
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild/mcatanzaro/cmake-prefix-path] env: set CMAKE_PREFIX_PATH
- Date: Thu, 25 Jul 2019 19:18:02 +0000 (UTC)
commit 59a45328967c2dc35b53e346ef52e2abee174a93
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Thu Jul 25 10:55:51 2019 -0500
env: set CMAKE_PREFIX_PATH
This tells CMake where to find dependencies, important for find modules
that don't use pkg-config.
This could also be set using a build flag, but this is a bit easier.
See discussion at: https://bugs.webkit.org/show_bug.cgi?id=197934#c9
jhbuild/environment.py | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/jhbuild/environment.py b/jhbuild/environment.py
index 0c1d8705..dfd29119 100644
--- a/jhbuild/environment.py
+++ b/jhbuild/environment.py
@@ -240,6 +240,9 @@ def setup_env(prefix):
perl5lib = os.path.join(prefix, 'lib', 'perl5')
addpath('PERL5LIB', perl5lib)
+ # CMAKE_PREFIX_PATH
+ addpath('CMAKE_PREFIX_PATH', prefix)
+
# These two variables are so that people who use "jhbuild shell"
# can tweak their shell prompts and such to show "I'm under jhbuild".
# The first variable is the obvious one to look for; the second
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]