mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
cmake-utils.eclass: Fix cross-compiling with cmake-3.4
We are interested in the CMake version on the host system, the sysroot might not even have CMake installed at all. Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
committed by
Lars Wendler
parent
b3503c64b5
commit
82d2bfbeef
@@ -468,7 +468,7 @@ enable_cmake-utils_src_configure() {
|
||||
if $(version_is_at_least 3.4.0 $(get_version_component_range 1-3 ${PV})) ; then
|
||||
includes="<INCLUDES>"
|
||||
fi
|
||||
elif has_version \>=dev-util/cmake-3.4.0_rc1 ; then
|
||||
elif ROOT=/ has_version \>=dev-util/cmake-3.4.0_rc1 ; then
|
||||
includes="<INCLUDES>"
|
||||
fi
|
||||
cat > "${build_rules}" <<- _EOF_ || die
|
||||
|
||||
Reference in New Issue
Block a user