aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libucl/CMakeLists.txt
blob: cda8091161b3dc2924963aaa1cf266bfd9b2e5cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
					  ucl_msgpack.c
					  ucl_sexp.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")