Detect when wasm stuff is unsupported

This commit is contained in:
falkTX 2022-08-03 20:04:41 +01:00
parent f9a7099548
commit 0f6948fe8a
2 changed files with 93 additions and 54 deletions

9
deps/Makefile vendored
View file

@ -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