eclass/cmake: Sync with Gentoo

It's from Gentoo commit e5ef944fb0fed952cd0344f67c052c0d7ecdbfea.
This commit is contained in:
Flatcar Buildbot 2025-04-28 07:14:38 +00:00
parent fdb6c5329c
commit ba19252ad1

View File

@ -303,7 +303,7 @@ _cmake_check_build_dir() {
# TODO: For EAPI > 8, we should ban S=WORKDIR for CMake.
# See bug #889420.
if [[ ${S} == "${WORKDIR}" && ${BUILD_DIR} == "${WORKDIR}_build" ]] ; then
eqawarn "QA notice: S=WORKDIR is deprecated for cmake.eclass."
eqawarn "QA Notice: S=WORKDIR is deprecated for cmake.eclass."
eqawarn "Please relocate the sources in src_unpack."
BUILD_DIR="${WORKDIR}"/${P}_build
fi