From f94e3b3aaafc2bab0def2806ff345ea31872c9cb Mon Sep 17 00:00:00 2001 From: James Goppert Date: Fri, 11 Sep 2015 00:28:13 -0400 Subject: [PATCH] Fixed config check. --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 63b863bd57..eefbe41b16 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -127,12 +127,10 @@ foreach(cmd ${px4_required_interface}) endif() endforeach() set(px4_required_config - config_firmware_options - config_extra_builtin_cmds config_module_list ) foreach(conf ${px4_required_config}) - if(NOT DEFINED conf) + if(NOT DEFINED ${conf}) message(FATAL_ERROR "cmake/${config_module} must define ${conf}") endif() endforeach()