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