mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-09 13:16:26 +00:00
Auto detect host platform for wamr-compiler (#504)
Signed-off-by: Huang Qi <huangqi3@xiaomi.com> Co-authored-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
parent
ee217d5af1
commit
4c9cb30ed9
|
@ -3,6 +3,8 @@
|
||||||
|
|
||||||
cmake_minimum_required (VERSION 2.8)
|
cmake_minimum_required (VERSION 2.8)
|
||||||
|
|
||||||
|
string (TOLOWER ${CMAKE_HOST_SYSTEM_NAME} WAMR_BUILD_PLATFORM)
|
||||||
|
|
||||||
if (NOT WAMR_BUILD_PLATFORM STREQUAL "windows")
|
if (NOT WAMR_BUILD_PLATFORM STREQUAL "windows")
|
||||||
project (aot-compiler)
|
project (aot-compiler)
|
||||||
else()
|
else()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user