projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
998de28
)
cmake-utils.eclass: check for ninja with ROOT=/
author
Michael Palimaka
<kensington@gentoo.org>
Tue, 22 Mar 2016 16:02:01 +0000
(
03:02
+1100)
committer
Michael Palimaka
<kensington@gentoo.org>
Sat, 2 Apr 2016 14:50:43 +0000
(
01:50
+1100)
Gentoo-bug: 577244
eclass/cmake-utils.eclass
patch
|
blob
|
history
diff --git
a/eclass/cmake-utils.eclass
b/eclass/cmake-utils.eclass
index 5f7bb8162d19162628fd19a3ef62a7576f9e933a..ebcb631b2dd3afda36c4653b05f4b8c23d4dd433 100644
(file)
--- a/
eclass/cmake-utils.eclass
+++ b/
eclass/cmake-utils.eclass
@@
-242,7
+242,7
@@
_cmake_generator_to_use() {
ninja)
# if ninja is enabled but not installed, the build could fail
# this could happen if ninja is manually enabled (eg. make.conf) but not installed
- if ! has_version dev-util/ninja; then
+ if !
ROOT=/
has_version dev-util/ninja; then
die "CMAKE_MAKEFILE_GENERATOR is set to ninja, but ninja is not installed. Please install dev-util/ninja or unset CMAKE_MAKEFILE_GENERATOR."
fi
generator_name="Ninja"