3 set(chrony_headers chrony.h)
4 set(chrony_sources chrony.cpp )
6 add_library(chrony MODULE ${chrony_sources})
7 set_target_properties(chrony PROPERTIES PREFIX "")
8 target_link_libraries(chrony amb -L${CMAKE_CURRENT_BINARY_DIR}/lib amb-plugins-common -L${CMAKE_CURRENT_BINARY_DIR}/plugins/common ${link_libraries} ${gio_LIBRARIES})
10 install(TARGETS chrony LIBRARY DESTINATION ${PLUGIN_INSTALL_PATH})
12 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/README ${CMAKE_CURRENT_BINARY_DIR}/chrony.README @ONLY)
14 install (FILES ${CMAKE_CURRENT_BINARY_DIR}/chrony.README DESTINATION ${DOC_INSTALL_DIR}/plugins)