waf: px4: require cmake version at least 3.2

That way we avoid build errors due to things not supported in earlier versions.
This commit is contained in:
Gustavo Jose de Sousa 2016-06-02 13:10:39 -03:00
parent 03728ac2f7
commit 6fa97c2289

View File

@ -207,6 +207,7 @@ def _process_romfs(self):
self.create_task('px4_copy', src, dst)
def configure(cfg):
cfg.env.CMAKE_MIN_VERSION = '3.2'
cfg.load('cmake')
cfg.find_program('cp')