From ff0db7b88ec5026f75a86f6fd8562c35b95b1017 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 17 Oct 2019 12:09:17 -0700 Subject: ref-manual, dev-manual: Added CMake toolchain files. Fixes [YOCTO #12760] Updated the cmake.bbclass description to tell what directory to insall custom CMake toolchain files into. Also, updated the two areas in the "Writing a New Recipe" section that mention CMake. Placed a couple notes there concerning the same directory stuff. (From yocto-docs rev: a65cd2c4c062d4ae388191b9d6708b4fadffaa3f) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-classes.xml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'documentation/ref-manual/ref-classes.xml') diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index 5403f20b6f..f9bbddd724 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml @@ -428,6 +428,14 @@ variable to specify additional configuration options to be passed using the cmake command line. + + + On the occasion that you would be installing custom CMake toolchain + files supplied by the application being built, you should install them + to the preferred CMake Module directory: + ${D}${datadir}/cmake/ Modules during + do_install. +
-- cgit v1.2.3-54-g00ecf