summaryrefslogtreecommitdiff
path: root/classes/cmake.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/cmake.bbclass')
-rw-r--r--classes/cmake.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/classes/cmake.bbclass b/classes/cmake.bbclass
index cec74349dc..823635c24d 100644
--- a/classes/cmake.bbclass
+++ b/classes/cmake.bbclass
@@ -1,7 +1,10 @@
+DEPENDS += " cmake-native "
+
+# We want the staging and installing functions from autotools
inherit autotools
cmake_do_configure() {
- cmake . -DCMAKE_INSTALL_PREFIX:PATH=${prefix}
+ cmake . -DCMAKE_INSTALL_PREFIX:PATH=${prefix}
}
EXPORT_FUNCTIONS do_configure