Skip to content

Commit 4c9cb30

Browse files
authored
Auto detect host platform for wamr-compiler (#504)
Signed-off-by: Huang Qi <[email protected]> Co-authored-by: Huang Qi <[email protected]>
1 parent ee217d5 commit 4c9cb30

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

wamr-compiler/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
cmake_minimum_required (VERSION 2.8)
55

6+
string (TOLOWER ${CMAKE_HOST_SYSTEM_NAME} WAMR_BUILD_PLATFORM)
7+
68
if (NOT WAMR_BUILD_PLATFORM STREQUAL "windows")
79
project (aot-compiler)
810
else()

0 commit comments

Comments
 (0)