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:
@ -3,6 +3,8 @@
|
||||
|
||||
cmake_minimum_required (VERSION 2.8)
|
||||
|
||||
string (TOLOWER ${CMAKE_HOST_SYSTEM_NAME} WAMR_BUILD_PLATFORM)
|
||||
|
||||
if (NOT WAMR_BUILD_PLATFORM STREQUAL "windows")
|
||||
project (aot-compiler)
|
||||
else()
|
||||
|
||||
Reference in New Issue
Block a user