summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2009-10-17 00:36:30 +0200
committerGravatar Jonathan Beck2009-10-17 00:36:30 +0200
commit68f45cabfaf816237833c7656c72f90d0a38658f (patch)
tree34fe5f53de28b17fddf1f530ee3079697c65a80b /src/CMakeLists.txt
parent7372d12b5aa3bd09b20ad9e8f5210d950b001967 (diff)
downloadlibplist-68f45cabfaf816237833c7656c72f90d0a38658f.tar.gz
libplist-68f45cabfaf816237833c7656c72f90d0a38658f.tar.bz2
Install C++ binding.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 5e03748..3c6ac09 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -28,8 +28,10 @@ SET_TARGET_PROPERTIES( plist PROPERTIES SOVERSION ${LIBPLIST_SOVERSION} )
ADD_LIBRARY( plist++ SHARED ${libplist++_SRC} )
TARGET_LINK_LIBRARIES( plist++ plist )
+SET_TARGET_PROPERTIES( plist++ PROPERTIES VERSION ${LIBPLIST_LIBVERSION} )
+SET_TARGET_PROPERTIES( plist++ PROPERTIES SOVERSION ${LIBPLIST_SOVERSION} )
-INSTALL(TARGETS plist
+INSTALL(TARGETS plist plist++
RUNTIME DESTINATION bin COMPONENT lib
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT dev
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT dev)