summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
blob: 4c0f84376df615fcb33b06972aff9ca7ce23d638 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
INCLUDE_DIRECTORIES( ${LIBXML2_INCLUDE_DIR} ${GLIB2_INCLUDE_DIR} )
 

SET(libplist_SRC
	plist.c
	bplist.c
	xplist.c )

ADD_LIBRARY( plist SHARED ${libplist_SRC} )
TARGET_LINK_LIBRARIES( plist ${LIBXML2_LIBRARIES} ${GLIB2_LIBRARIES} )
SET_TARGET_PROPERTIES( plist PROPERTIES VERSION ${LIBPLIST_LIBVERSION} )
SET_TARGET_PROPERTIES( plist PROPERTIES SOVERSION ${LIBPLIST_SOVERSION} )

INSTALL(TARGETS plist
 RUNTIME DESTINATION bin COMPONENT lib
 LIBRARY DESTINATION lib COMPONENT dev
 ARCHIVE DESTINATION lib COMPONENT dev)