diff options
-rw-r--r-- | meta/classes-recipe/cmake.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes-recipe/cmake.bbclass b/meta/classes-recipe/cmake.bbclass index d978b88944..1e353f660f 100644 --- a/meta/classes-recipe/cmake.bbclass +++ b/meta/classes-recipe/cmake.bbclass | |||
@@ -72,6 +72,8 @@ OECMAKE_TARGET_COMPILE ?= "all" | |||
72 | OECMAKE_TARGET_INSTALL ?= "install" | 72 | OECMAKE_TARGET_INSTALL ?= "install" |
73 | 73 | ||
74 | def map_host_os_to_system_name(host_os): | 74 | def map_host_os_to_system_name(host_os): |
75 | if host_os.startswith('darwin'): | ||
76 | return 'Darwin' | ||
75 | if host_os.startswith('mingw'): | 77 | if host_os.startswith('mingw'): |
76 | return 'Windows' | 78 | return 'Windows' |
77 | if host_os.startswith('linux'): | 79 | if host_os.startswith('linux'): |