[meta-mingw] cmake: Remove toolchain append

Submitted by Joshua Watt on July 21, 2020, 5:56 p.m. | Patch ID: 174590

Details

Message ID 20200721175658.11661-1-JPEWhacker@gmail.com
State New
Headers show

Commit Message

Joshua Watt July 21, 2020, 5:56 p.m.
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(-)

Patch hide | download patch | download mbox

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
-}