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.

(From OE-Core rev: 07390e3d45cdf244079a6b91175512ebac789da0)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Andre McCurdy 2017-04-27 16:50:29 -07:00 committed by Richard Purdie
parent edb7672c27
commit 33f378ee33
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
# Path to the CMake file to process.
OECMAKE_SOURCEPATH ?= "${S}"
OECMAKE_SOURCEPATH ??= "${S}"
DEPENDS_prepend = "cmake-native "
B = "${WORKDIR}/build"