Detect when wasm stuff is unsupported
This commit is contained in:
parent
f9a7099548
commit
0f6948fe8a
2 changed files with 93 additions and 54 deletions
9
deps/Makefile
vendored
9
deps/Makefile
vendored
|
@ -144,6 +144,15 @@ CMAKE += -DCMAKE_CXX_COMPILER_AR=$(CMAKE_AR)
|
|||
CMAKE += -DCMAKE_RANLIB=$(CMAKE_RANLIB)
|
||||
CMAKE += -DCMAKE_C_COMPILER_RANLIB=$(CMAKE_RANLIB)
|
||||
CMAKE += -DCMAKE_CXX_COMPILER_RANLIB=$(CMAKE_RANLIB)
|
||||
ifeq ($(shell uname -s),Darwin)
|
||||
CMAKE += -DCMAKE_CROSSCOMPILING=ON
|
||||
CMAKE += -DCMAKE_SYSTEM_NAME=Generic
|
||||
endif
|
||||
endif
|
||||
|
||||
# fix cmake forcing SDK for us
|
||||
ifeq ($(MACOS),true)
|
||||
CMAKE += -DCMAKE_OSX_SYSROOT="macosx"
|
||||
endif
|
||||
|
||||
# fix cross-compilation for windows
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue