We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fd9c31 commit daa53a0Copy full SHA for daa53a0
build
@@ -14,10 +14,10 @@ TARGET_OS_AND_ABI=${TARGET#*-} # Example: linux-gnu
14
# Here we map the OS from the target triple to the value that CMake expects.
15
TARGET_OS_CMAKE=${TARGET_OS_AND_ABI%-*} # Example: linux
16
case $TARGET_OS_CMAKE in
17
- macos) TARGET_OS_CMAKE="Darwin";;
18
- freebsd) TARGET_OS_CMAKE="FreeBSD";;
19
- windows) TARGET_OS_CMAKE="Windows";;
20
- linux) TARGET_OS_CMAKE="Linux";;
+ macos*) TARGET_OS_CMAKE="Darwin";;
+ freebsd*) TARGET_OS_CMAKE="FreeBSD";;
+ windows*) TARGET_OS_CMAKE="Windows";;
+ linux*) TARGET_OS_CMAKE="Linux";;
21
native) TARGET_OS_CMAKE="";;
22
esac
23
0 commit comments