diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/cmake.bbclass | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/classes/cmake.bbclass b/classes/cmake.bbclass index 4978421b63..d0a1844b21 100644 --- a/classes/cmake.bbclass +++ b/classes/cmake.bbclass @@ -25,4 +25,22 @@ cmake_do_configure() { -Wno-dev } -EXPORT_FUNCTIONS do_configure +cmake_do_compile() { + if [ ${OECMAKE_BUILDPATH} ] + then + cd ${OECMAKE_BUILDPATH} + fi + + base_do_compile +} + +cmake_do_install() { + if [ ${OECMAKE_BUILDPATH} ]; + then + cd ${OECMAKE_BUILDPATH} + fi + + autotools_do_install +} + +EXPORT_FUNCTIONS do_configure do_compile do_install |