summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2017-04-27 16:50:29 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-28 11:26:06 +0100
commit07390e3d45cdf244079a6b91175512ebac789da0 (patch)
tree5b490647606b6edccec6ab1742a58d0a4c3a30a8
parentea6befae799f45cf93771442f242cb023dd809d1 (diff)
downloadopenembedded-core-contrib-07390e3d45cdf244079a6b91175512ebac789da0.tar.gz
openembedded-core-contrib-07390e3d45cdf244079a6b91175512ebac789da0.tar.bz2
openembedded-core-contrib-07390e3d45cdf244079a6b91175512ebac789da0.zip
cmake.bbclass: use weakest ??= assignment for default OECMAKE_SOURCEPATH
Make it slightly easier to support situations where the default path needs to be over-ridden more than once. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/cmake.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass
index 20d8a61069..12df617ad8 100644
--- a/meta/classes/cmake.bbclass
+++ b/meta/classes/cmake.bbclass
@@ -1,5 +1,5 @@
# Path to the CMake file to process.
-OECMAKE_SOURCEPATH ?= "${S}"
+OECMAKE_SOURCEPATH ??= "${S}"
DEPENDS_prepend = "cmake-native "
B = "${WORKDIR}/build"