diff --git a/CMakeLists.txt b/CMakeLists.txt
index 78e2b55f39ac15dec424e76208755a2c3a6f77c6..9088f50cbff637517328b69234b6768a36a86836 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,6 +20,8 @@ set(ECSS_CONFIGURATION "${PROJECT_SOURCE_DIR}/inc/Platform/x86" CACHE PATH
         )
 include_directories(${ECSS_CONFIGURATION})
 
+add_compile_options(-Wvla)
+
 # Specify the .cpp files common across all targets
 add_library(common OBJECT
         lib/logger/src/Logger.cpp