diff --git a/examples/app/CMakeLists.txt b/examples/app/CMakeLists.txt index c811f336..4efaa4db 100644 --- a/examples/app/CMakeLists.txt +++ b/examples/app/CMakeLists.txt @@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.16) project(app LANGUAGES C) +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wvla -Werror") + find_package(toywasm-lib-core REQUIRED) set(app_sources