Made generic external module support

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois 2016-01-19 15:42:42 -08:00 committed by Julian Oes
parent ef88706fa6
commit b24d29e1eb
1 changed files with 0 additions and 1 deletions

View File

@ -334,7 +334,6 @@ foreach(module ${config_module_list})
if(external_module)
STRING(REGEX REPLACE "//" "/" EXT_MODULE ${module})
STRING(REGEX REPLACE "/" "__" EXT_MODULE_PREFIX ${EXT_MODULE})
get_filename_component(EXT_MODULE ${module} NAME)
add_subdirectory(${module} ${CMAKE_BINARY_DIR}/${EXT_MODULE_PREFIX})
else()
add_subdirectory(src/${module})