Fixed cmake dependency.
This commit is contained in:
parent
bb5bcefbb2
commit
c7c6d90b3c
|
@ -61,11 +61,6 @@ _CMAKE_UTILS_ECLASS=1
|
||||||
# In EAPI 7 and above, the default is set to "ninja",
|
# In EAPI 7 and above, the default is set to "ninja",
|
||||||
# whereas in EAPIs below 7, it is set to "emake".
|
# whereas in EAPIs below 7, it is set to "emake".
|
||||||
|
|
||||||
# @ECLASS_VARIABLE: CMAKE_MIN_VERSION
|
|
||||||
# @DESCRIPTION:
|
|
||||||
# Specify the minimum required CMake version.
|
|
||||||
: ${CMAKE_MIN_VERSION:=3.9.6}
|
|
||||||
|
|
||||||
# @ECLASS_VARIABLE: CMAKE_REMOVE_MODULES
|
# @ECLASS_VARIABLE: CMAKE_REMOVE_MODULES
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
# Do we want to remove anything? yes or whatever else for no
|
# Do we want to remove anything? yes or whatever else for no
|
||||||
|
@ -154,7 +149,7 @@ case ${CMAKE_MAKEFILE_GENERATOR} in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [[ ${PN} != cmake ]]; then
|
if [[ ${PN} != cmake ]]; then
|
||||||
BDEPEND+=" >=dev-util/cmake-${CMAKE_MIN_VERSION}"
|
BDEPEND+=" >=dev-build/cmake-3.20.5"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case ${EAPI} in
|
case ${EAPI} in
|
||||||
|
|
Loading…
Reference in a new issue