File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ TARGET_OS_CMAKE=${TARGET_OS_AND_ABI%-*} # Example: linux
16
16
case $TARGET_OS_CMAKE in
17
17
macos* ) TARGET_OS_CMAKE=" Darwin" ;;
18
18
freebsd* ) TARGET_OS_CMAKE=" FreeBSD" ;;
19
+ netbsd* ) TARGET_OS_CMAKE=" NetBSD" ;;
19
20
windows* ) TARGET_OS_CMAKE=" Windows" ;;
20
21
linux* ) TARGET_OS_CMAKE=" Linux" ;;
21
22
native) TARGET_OS_CMAKE=" " ;;
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ set TARGET_OS_CMAKE=
25
25
FOR /F " tokens=2,3 delims=-" %%i IN (" %TARGET% " ) DO (
26
26
IF " %%i " == " macos" set " TARGET_OS_CMAKE = Darwin"
27
27
IF " %%i " == " freebsd" set " TARGET_OS_CMAKE = FreeBSD"
28
+ IF " %%i " == " netbsd" set " TARGET_OS_CMAKE = NetBSD"
28
29
IF " %%i " == " windows" set " TARGET_OS_CMAKE = Windows"
29
30
IF " %%i " == " linux" set " TARGET_OS_CMAKE = Linux"
30
31
set TARGET_ABI = %%j
You can’t perform that action at this time.
0 commit comments