All of lore.kernel.org
 help / color / mirror / Atom feed
* [yocto][meta-mingw][PATCH] cmake: Remove toolchain append
@ 2020-07-21 17:56 Joshua Watt
  0 siblings, 0 replies; only message in thread
From: Joshua Watt @ 2020-07-21 17:56 UTC (permalink / raw)
  To: yocto; +Cc: Joshua Watt

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"

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
---
 recipes-devtools/cmake/cmake_%.bbappend | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/recipes-devtools/cmake/cmake_%.bbappend b/recipes-devtools/cmake/cmake_%.bbappend
index d9d7ceb..42d36ac 100644
--- a/recipes-devtools/cmake/cmake_%.bbappend
+++ b/recipes-devtools/cmake/cmake_%.bbappend
@@ -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
-}
-- 
2.27.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-21 17:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-21 17:56 [yocto][meta-mingw][PATCH] cmake: Remove toolchain append Joshua Watt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.