]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
cmake.bbclass: Add *.cmake to CONFIGURE_FILES
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Tue, 3 Oct 2023 01:05:28 +0000 (03:05 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 Oct 2023 14:50:43 +0000 (15:50 +0100)
This makes do_configure depend on changes to any cmake file when
externalsrc is active.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/cmake.bbclass

index 41748b08207dafeebdf04d3fd7567a8545642bfe..d978b8894406b220b2b0bd3789b29a141d0cf2a6 100644 (file)
@@ -156,7 +156,7 @@ EOF
 
 addtask generate_toolchain_file after do_patch before do_configure
 
-CONFIGURE_FILES = "CMakeLists.txt"
+CONFIGURE_FILES = "CMakeLists.txt *.cmake"
 
 do_configure[cleandirs] = "${@d.getVar('B') if d.getVar('S') != d.getVar('B') else ''}"