mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
68a55c8ff7
commit
c0ac09ab49
@@ -43,6 +43,9 @@ do_configure_prepend() {
|
||||
sed -i 's/^find_package(Qt5Widgets QUIET)/#find_package(Qt5Widgets QUIET)/g' ${S}/Source/QtDialog/CMakeLists.txt
|
||||
}
|
||||
|
||||
# Extra flags to pass to cmake invoked by bootstrap
|
||||
CMAKE_EXTRACONF = ""
|
||||
|
||||
do_configure () {
|
||||
./configure --prefix=${prefix}
|
||||
./configure --prefix=${prefix} -- ${CMAKE_EXTRACONF}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user