diff --git a/Tools/ardupilotwaf/cmake.py b/Tools/ardupilotwaf/cmake.py index 9ec9691c150ae..0616de6128ed6 100644 --- a/Tools/ardupilotwaf/cmake.py +++ b/Tools/ardupilotwaf/cmake.py @@ -23,7 +23,7 @@ the configuration to set a minimum version required for cmake. Example:: def configure(cfg): - cfg.CMAKE_MIN_VERSION = '3.5.2' + cfg.env.CMAKE_MIN_VERSION = '3.5.2' cfg.load('cmake') Usage example::