diff options
Diffstat (limited to 'contrib/libucl/CMakeLists.txt')
-rw-r--r-- | contrib/libucl/CMakeLists.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/contrib/libucl/CMakeLists.txt b/contrib/libucl/CMakeLists.txt new file mode 100644 index 000000000..80f50155e --- /dev/null +++ b/contrib/libucl/CMakeLists.txt @@ -0,0 +1,18 @@ +SET(UCLSRC ucl_util.c + ucl_parser.c + ucl_emitter.c + ucl_emitter_streamline.c + ucl_emitter_utils.c + ucl_hash.c + ucl_schema.c + lua_ucl.c) + + +SET (LIB_TYPE STATIC) +ADD_LIBRARY(ucl ${LIB_TYPE} ${UCLSRC}) + +IF(ENABLE_URL_SIGN MATCHES "ON") + IF(OPENSSL_FOUND) + TARGET_LINK_LIBRARIES(ucl ${OPENSSL_LIBRARIES}) + ENDIF(OPENSSL_FOUND) +ENDIF(ENABLE_URL_SIGN MATCHES "ON") |