From 9916813a342baba08965b79519938c54e85a9cf1 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Thu, 19 Dec 2024 17:49:25 +0900 Subject: [PATCH] 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. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3efd6aa82..e5a1bf1c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,6 +10,8 @@ endif() project (iwasm) +set(CMAKE_CXX_STANDARD 17) + set (CMAKE_VERBOSE_MAKEFILE OFF) if (NOT DEFINED WAMR_BUILD_PLATFORM)