diff options
Diffstat (limited to 'meta/classes/cmake.bbclass')
-rw-r--r-- | meta/classes/cmake.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index 995ddf1ea2..10f8f98b2e 100644 --- a/meta/classes/cmake.bbclass +++ b/meta/classes/cmake.bbclass | |||
@@ -79,6 +79,8 @@ cmake_do_configure() { | |||
79 | rm -rf ${B} | 79 | rm -rf ${B} |
80 | mkdir -p ${B} | 80 | mkdir -p ${B} |
81 | cd ${B} | 81 | cd ${B} |
82 | else | ||
83 | find ${B} -name CMakeFiles -or -name Makefile -or -name cmake_install.cmake -or -name CMakeCache.txt -delete | ||
82 | fi | 84 | fi |
83 | 85 | ||
84 | # Just like autotools cmake can use a site file to cache result that need generated binaries to run | 86 | # Just like autotools cmake can use a site file to cache result that need generated binaries to run |