More config cleanup.

This commit is contained in:
James Goppert
2015-09-11 00:15:33 -04:00
parent ec209f13f0
commit 0e8cc821a9
3 changed files with 14 additions and 12 deletions

View File

@@ -132,7 +132,7 @@ set(px4_required_config
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()
@@ -159,16 +159,16 @@ list(GET config_args 2 LABEL)
message(STATUS "TARGET: OS(${OS})-BOARD(${BOARD})-LABEL(${LABEL})")
#=============================================================================
# cmake modules
#
enable_testing()
#=============================================================================
# programs
#
find_package(PythonInterp REQUIRED)
#=============================================================================
# cmake modules
#
enable_testing()
#=============================================================================
# check required toolchain variables
#