summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/cmake/cmake.inc
diff options
context:
space:
mode:
authorMike Crowe <mac@mcrowe.com>2014-04-08 14:51:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-08 17:45:08 +0100
commitc0ac09ab49d7a2b9cc7601ceef2852d690cdf3d1 (patch)
treeb5b37d65516e76d8ee60f3442cd3d6c7db43dbfa /meta/recipes-devtools/cmake/cmake.inc
parent68a55c8ff779d8df90626e68d5d4e48660dd8027 (diff)
downloadpoky-c0ac09ab49d7a2b9cc7601ceef2852d690cdf3d1.tar.gz
cmake: Improve method for not building ccmake
In commit 4bee0a93ed985b38c6b4eb605d8e16f5d7c82d51 I introduced an unnecessary patch to do something that can easily be done without patching. The argument to disable building ccmake can be passed to configure provided it is preceded by "--". (From OE-Core rev: eaf176eaabb4c558ad76512b30b28ec97fd90bc6) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/cmake/cmake.inc')
-rw-r--r--meta/recipes-devtools/cmake/cmake.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-devtools/cmake/cmake.inc b/meta/recipes-devtools/cmake/cmake.inc
index a0fcf490ec..8592a23046 100644
--- a/meta/recipes-devtools/cmake/cmake.inc
+++ b/meta/recipes-devtools/cmake/cmake.inc
@@ -43,6 +43,9 @@ do_configure_prepend() {
43 sed -i 's/^find_package(Qt5Widgets QUIET)/#find_package(Qt5Widgets QUIET)/g' ${S}/Source/QtDialog/CMakeLists.txt 43 sed -i 's/^find_package(Qt5Widgets QUIET)/#find_package(Qt5Widgets QUIET)/g' ${S}/Source/QtDialog/CMakeLists.txt
44} 44}
45 45
46# Extra flags to pass to cmake invoked by bootstrap
47CMAKE_EXTRACONF = ""
48
46do_configure () { 49do_configure () {
47 ./configure --prefix=${prefix} 50 ./configure --prefix=${prefix} -- ${CMAKE_EXTRACONF}
48} 51}