summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes-recipe/cmake.bbclass2
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"
72OECMAKE_TARGET_INSTALL ?= "install" 72OECMAKE_TARGET_INSTALL ?= "install"
73 73
74def map_host_os_to_system_name(host_os): 74def 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'):