summaryrefslogtreecommitdiff
path: root/classes/cmake.bbclass
blob: 823635c24de53f07fbcdd47fffdb60fa0cad8dd8 (plain)
1
2
3
4
5
6
7
8
9
10
DEPENDS += " cmake-native "

# We want the staging and installing functions from autotools
inherit autotools

cmake_do_configure() {
    cmake . -DCMAKE_INSTALL_PREFIX:PATH=${prefix}
}

EXPORT_FUNCTIONS do_configure