Skip to contentSkip to conversation

cmake: Remove toolchain append

PATCH New Joshua Watt 1 participant 1 message Jul 21, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cmake: Remove toolchain append

Now that cmake.bbclass in OE-core correctly accounts for MinGW hosts, it is no longer necessary to manually specify that CMAKE_SYSTEM_NAME as "Windows"

---
 recipes-devtools/cmake/cmake_%.bbappend | 6 ------
 1 file changed, 6 deletions(-)
recipes-devtools/cmake/cmake_%.bbappend +0 -6
index d9d7ceb..42d36ac 100644
@@ -1,7 +1 @@
 DEPENDS_remove_mingw32 = "ncurses"
-
-cmake_do_generate_toolchain_file_append_mingw32() {
-    cat >> ${WORKDIR}/toolchain.cmake <<EOF
-set( CMAKE_SYSTEM_NAME Windows )
-EOF
-}
Signature · 1 line
2.27.0