automatic contribution library detection

This commit is contained in:
Yuichi Nishiwaki
2014-05-19 13:14:29 +09:00
parent c3dfef0318
commit 8fa9502fd4
+4 -1
View File
@@ -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}")