[gnome-continuous-yocto/gnomeostree-3.28-rocko: 5742/8267] cmake.bbclass: use weakest ??= assignment for default OECMAKE_SOURCEPATH



commit 33f378ee3354ceffe26d6288098d8ef78f5677f2
Author: Andre McCurdy <armccurdy gmail com>
Date:   Thu Apr 27 16:50:29 2017 -0700

    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>

 meta/classes/cmake.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass
index 20d8a61..12df617 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"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]