@ -97,6 +97,8 @@ file(GLOB extramodules extramodules/*)
set(STATIC_MODULES "")
set(CMAKE_SHARED_MODULE_PREFIX "")
foreach(ext ${modules})
if(EXISTS ${ext}/CMakeLists.txt)
string(REGEX REPLACE .*/ "" modname ${ext})