Skip to content

Commit

Permalink
Remove usage of ofono-qt in CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Schmeisser committed Jul 27, 2019
1 parent 10a00c6 commit 7131cc1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ find_package(PkgConfig REQUIRED)
pkg_check_modules(TP_QT5 REQUIRED TelepathyQt5)
pkg_check_modules(SQLITE3 REQUIRED sqlite3)
pkg_check_modules(MC_PLUGINS REQUIRED mission-control-plugins)
pkg_check_modules(OFONO_QT REQUIRED ofono-qt)
pkg_check_modules(QOFONO REQUIRED qofono-qt5)

find_program(DBUS_RUNNER dbus-test-runner)
Expand All @@ -50,7 +49,6 @@ include_directories(${TP_QT5_INCLUDE_DIRS})
include_directories(${SQLITE3_INCLUDE_DIRS})
include_directories(${LibPhoneNumber_INCLUDE_DIRS})
include_directories(/usr/include/telepathy-qt5/)
include_directories(${OFONO_QT_INCLUDE_DIRS})
include_directories(${QOFONO_INCLUDE_DIRS})

find_library(TELEPATHY_QT5_LIBRARIES telepathy-qt5)
Expand Down Expand Up @@ -94,7 +92,7 @@ add_dependencies(${TELEPATHY_OFONO} schema_update qrc_update)

enable_testing()

target_link_libraries(${TELEPATHY_OFONO} Qt5::Core Qt5::DBus -ltelepathy-qt5 ${TELEPATHY_QT5_SERVICE_LIBRARIES} Qt5::Network ${OFONO_QT_LIBRARIES} ${SQLITE3_LIBRARIES} ${LibPhoneNumber_LIBRARIES} ${QOFONO_LIBRARIES})
target_link_libraries(${TELEPATHY_OFONO} Qt5::Core Qt5::DBus -ltelepathy-qt5 ${TELEPATHY_QT5_SERVICE_LIBRARIES} Qt5::Network ${SQLITE3_LIBRARIES} ${LibPhoneNumber_LIBRARIES} ${QOFONO_LIBRARIES})
install(TARGETS ${TELEPATHY_OFONO} DESTINATION ${CMAKE_INSTALL_LIBEXECDIR})

configure_file(ofono.service.in org.freedesktop.Telepathy.ConnectionManager.ofono.service)
Expand Down

0 comments on commit 7131cc1

Please sign in to comment.