diff --git a/contrib/CMakeLists.txt b/contrib/CMakeLists.txt index f206ac80..2a25b8b8 100644 --- a/contrib/CMakeLists.txt +++ b/contrib/CMakeLists.txt @@ -1,3 +1,6 @@ -include(contrib/regexp/CMakeLists.txt) +file(GLOB CONTRIBS ${PROJECT_SOURCE_DIR}/contrib/*/CMakeLists.txt) +foreach(contrib ${CONTRIBS}) + include(${contrib}) +endforeach() add_definitions("-DPIC_CONTRIB_INITS=${PICRIN_CONTRIB_INITS}")