Ticket #1025: cmake-install-dbus2.diff

File cmake-install-dbus2.diff, 803 bytes (added by tryagain, 8 years ago)

New patch suggested by woldcitizen, see http://irclogs.navit.ie/%23navit-2012-05-09.log

  • navit/binding/dbus/CMakeLists.txt

    cat cmake-install-dbus.diff
     
    11module_add_library(binding_dbus binding_dbus.c)
    2 install(FILES org.navit_project.navit.service DESTINATION ${CMAKE_INSTALL_PREFIX}/share/dbus-1/services/)
    3  No newline at end of file
     2set(bindir ${CMAKE_INSTALL_PREFIX}/${BIN_DIR})
     3
     4configure_file (
     5 "${CMAKE_CURRENT_SOURCE_DIR}/org.navit_project.navit.service.in"
     6 "${CMAKE_CURRENT_BINARY_DIR}/org.navit_project.navit.service"
     7)
     8
     9install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.navit_project.navit.service DESTINATION ${CMAKE_INSTALL_PREFIX}/share/dbus-1/services/)