summaryrefslogtreecommitdiffstats
path: root/src/rcl/CMakeLists.txt
blob: d5a362449f8a5d80b3eb060b39aedf2995d12875 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Lua support makefile
SET(RCLSRC			  rcl_util.c
					  rcl_parser.c
					  rcl_emitter.c)

ADD_LIBRARY(rspamd-rcl ${LINK_TYPE} ${RCLSRC})
SET_TARGET_PROPERTIES(rspamd-rcl PROPERTIES VERSION ${RSPAMD_VERSION})
SET_TARGET_PROPERTIES(rspamd-rcl PROPERTIES COMPILE_FLAGS "-DRSPAMD_LIB")
IF(NO_SHARED MATCHES "OFF")
	INSTALL(TARGETS rspamd-rcl 
    	LIBRARY DESTINATION ${LIBDIR} 
    	PUBLIC_HEADER DESTINATION ${INCLUDEDIR})
ENDIF(NO_SHARED MATCHES "OFF")