summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/cmake-utils.eclass')
-rw-r--r--eclass/cmake-utils.eclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass
index dbb12f25f3d9..c6a52b8d9ae7 100644
--- a/eclass/cmake-utils.eclass
+++ b/eclass/cmake-utils.eclass
@@ -441,6 +441,8 @@ cmake-utils_src_prepare() {
fi
popd > /dev/null || die
+
+ _CMAKE_UTILS_SRC_PREPARE_HAS_RUN=1
}
# @VARIABLE: mycmakeargs
@@ -465,6 +467,10 @@ cmake-utils_src_prepare() {
cmake-utils_src_configure() {
debug-print-function ${FUNCNAME} "$@"
+ if [[ ! ${_CMAKE_UTILS_SRC_PREPARE_HAS_RUN} ]]; then
+ eqawarn "cmake-utils_src_prepare has not been run, please open a bug on https://bugs.gentoo.org/"
+ fi
+
[[ ${EAPI} == 5 ]] && _cmake_cleanup_cmake
_cmake_check_build_dir