automatic contribution library detection
This commit is contained in:
parent
c3dfef0318
commit
8fa9502fd4
|
@ -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}")
|
add_definitions("-DPIC_CONTRIB_INITS=${PICRIN_CONTRIB_INITS}")
|
||||||
|
|
Loading…
Reference in New Issue