diff options
Diffstat (limited to 'meta/classes/cmake.bbclass')
-rw-r--r-- | meta/classes/cmake.bbclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index f01db7480b..92b9197c48 100644 --- a/meta/classes/cmake.bbclass +++ b/meta/classes/cmake.bbclass | |||
@@ -1,7 +1,7 @@ | |||
1 | # Path to the CMake file to process. | 1 | # Path to the CMake file to process. |
2 | OECMAKE_SOURCEPATH ??= "${S}" | 2 | OECMAKE_SOURCEPATH ??= "${S}" |
3 | 3 | ||
4 | DEPENDS_prepend = "cmake-native " | 4 | DEPENDS:prepend = "cmake-native " |
5 | B = "${WORKDIR}/build" | 5 | B = "${WORKDIR}/build" |
6 | 6 | ||
7 | # What CMake generator to use. | 7 | # What CMake generator to use. |
@@ -57,13 +57,13 @@ OECMAKE_PERLNATIVE_DIR ??= "" | |||
57 | OECMAKE_EXTRA_ROOT_PATH ?= "" | 57 | OECMAKE_EXTRA_ROOT_PATH ?= "" |
58 | 58 | ||
59 | OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "ONLY" | 59 | OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "ONLY" |
60 | OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM_class-native = "BOTH" | 60 | OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM:class-native = "BOTH" |
61 | 61 | ||
62 | EXTRA_OECMAKE_append = " ${PACKAGECONFIG_CONFARGS}" | 62 | EXTRA_OECMAKE:append = " ${PACKAGECONFIG_CONFARGS}" |
63 | 63 | ||
64 | export CMAKE_BUILD_PARALLEL_LEVEL | 64 | export CMAKE_BUILD_PARALLEL_LEVEL |
65 | CMAKE_BUILD_PARALLEL_LEVEL_task-compile = "${@oe.utils.parallel_make(d, False)}" | 65 | CMAKE_BUILD_PARALLEL_LEVEL:task-compile = "${@oe.utils.parallel_make(d, False)}" |
66 | CMAKE_BUILD_PARALLEL_LEVEL_task-install = "${@oe.utils.parallel_make(d, True)}" | 66 | CMAKE_BUILD_PARALLEL_LEVEL:task-install = "${@oe.utils.parallel_make(d, True)}" |
67 | 67 | ||
68 | OECMAKE_TARGET_COMPILE ?= "all" | 68 | OECMAKE_TARGET_COMPILE ?= "all" |
69 | OECMAKE_TARGET_INSTALL ?= "install" | 69 | OECMAKE_TARGET_INSTALL ?= "install" |