top-level cmakefile: fix macOS build (#3968)

At least fast-jit seems to require a bit new C++ standard.
C++17 was chosen to match product-mini/platforms/darwin.
This commit is contained in:
YAMAMOTO Takashi 2024-12-19 17:49:25 +09:00 committed by GitHub
parent 932eb5d9e5
commit 9916813a34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,6 +10,8 @@ endif()
project (iwasm) project (iwasm)
set(CMAKE_CXX_STANDARD 17)
set (CMAKE_VERBOSE_MAKEFILE OFF) set (CMAKE_VERBOSE_MAKEFILE OFF)
if (NOT DEFINED WAMR_BUILD_PLATFORM) if (NOT DEFINED WAMR_BUILD_PLATFORM)