From a872a76d669b83c9137a9ecae78165aeab783822 Mon Sep 17 00:00:00 2001 From: Nathan Date: Sun, 9 Jul 2023 20:11:26 -0400 Subject: [PATCH] make cmake work on macos --- cmake/FindArduinoCtags.cmake | 2 +- cmake/ensure_core_deps.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/FindArduinoCtags.cmake b/cmake/FindArduinoCtags.cmake index 305e147846..95a16749a0 100644 --- a/cmake/FindArduinoCtags.cmake +++ b/cmake/FindArduinoCtags.cmake @@ -43,7 +43,7 @@ function(get_ctags) set(OSCODE "mingw32") set(ARCHIVE_EXT ".zip") endif() - elseif (${HOST_OS} STREQUAL "Darwin") + elseif (${HOST_OS} STREQUAL "Darwin" OR ${HOST_OS} STREQUAL "macOS") if(${CPUCODE} STREQUAL "x86_64") set(OSCODE "apple-darwin") set(ARCHIVE_EXT ".zip") diff --git a/cmake/ensure_core_deps.cmake b/cmake/ensure_core_deps.cmake index 99fa25bf84..9aaf552bba 100644 --- a/cmake/ensure_core_deps.cmake +++ b/cmake/ensure_core_deps.cmake @@ -33,7 +33,7 @@ function(get_host OUTVAR) if (${HOST_ARCH} MATCHES "^(AMD64|X86_64|x64|I386|IA32|x86|I686)$") set(${OUTVAR} "i686-mingw32" PARENT_SCOPE) endif() - elseif (${HOST_OS} STREQUAL "Darwin") + elseif (${HOST_OS} STREQUAL "Darwin" OR ${HOST_OS} STREQUAL "macOS") if (${HOST_ARCH} MATCHES "^(AMD64|X86_64|x64)$") set(${OUTVAR} "x86_64-apple-darwin" PARENT_SCOPE) endif() pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy