on bbbdccd help sign in
unity8/src/libunity8-private/CMakeLists.txt
27 lines 528 B history raw
1set(LIB_NAME "unity8-private")
2set(SOVERSION 0)
3set(VERSION ${SOVERSION}.0.0)
5project(lib${LIB_NAME})
7set(lib${LIB_NAME}_SRCS
8 abstractdbusservicemonitor.cpp
9 unitydbusobject.cpp
10 unitydbusvirtualobject.cpp
11 )
13add_library(${LIB_NAME} SHARED
14 ${lib${LIB_NAME}_SRCS}
15 )
17set_target_properties(${LIB_NAME} PROPERTIES
18 VERSION ${VERSION}
19 SOVERSION ${SOVERSION}
20 )
22qt5_use_modules(${LIB_NAME} DBus)
24# install library
25install(TARGETS ${LIB_NAME}
26 LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
27 )