From d8305ff61b4fbb33bf8cac6b73fc218de770fad4 Mon Sep 17 00:00:00 2001 From: Tomas Chvatal Date: Wed, 6 May 2009 14:45:09 +0200 Subject: Add backcompat modulo so we wont break stuff in main tree using wrongly eclass (i was really tempted to leave it and see who is not reading mine mails :]) --- eclass/cmake-utils.eclass | 3 +++ 1 file changed, 3 insertions(+) (limited to 'eclass') diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index 0f7e28e52ee..5cebabe29a9 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -127,6 +127,9 @@ _check_build_dir() { if [[ -n "${CMAKE_IN_SOURCE_BUILD}" ]]; then CMAKE_BUILD_DIR="${CMAKE_USE_DIR}" else + # this is backcompat modulo, should be removed in future + [[ ${CMAKE_USE_DIR} = ${S} ]] CMAKE_USE_DIR=${PN} + CMAKE_BUILD_DIR="${CMAKE_USE_DIR}_build" fi echo ">>> Working in BUILD_DIR: \"$CMAKE_BUILD_DIR\"" -- cgit v1.2.3