Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8ff274a

Browse files
nathantsoifpistm
authored andcommitted
make cmake work on macos
1 parentbaf3e2d commit8ff274a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎cmake/FindArduinoCtags.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function(get_ctags)
4343
set(OSCODE"mingw32")
4444
set(ARCHIVE_EXT".zip")
4545
endif()
46-
elseif (${HOST_OS}STREQUAL"Darwin")
46+
elseif (${HOST_OS}STREQUAL"Darwin"OR${HOST_OS}STREQUAL"macOS")
4747
if(${CPUCODE}STREQUAL"x86_64")
4848
set(OSCODE"apple-darwin")
4949
set(ARCHIVE_EXT".zip")

‎cmake/ensure_core_deps.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function(get_host OUTVAR)
3333
if (${HOST_ARCH}MATCHES"^(AMD64|X86_64|x64|I386|IA32|x86|I686)$")
3434
set(${OUTVAR}"i686-mingw32"PARENT_SCOPE)
3535
endif()
36-
elseif (${HOST_OS}STREQUAL"Darwin")
36+
elseif (${HOST_OS}STREQUAL"Darwin"OR${HOST_OS}STREQUAL"macOS")
3737
if (${HOST_ARCH}MATCHES"^(AMD64|X86_64|x64)$")
3838
set(${OUTVAR}"x86_64-apple-darwin"PARENT_SCOPE)
3939
endif()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp