diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..d5e6205 --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,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 +) |