summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
blob: 8a79c22eb6ab6974c8ffce075a46c6ab8b5fa914 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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} )

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