Commit 7d0e31ac authored by Jan Grulich's avatar Jan Grulich
Browse files

Fix build without ModemManager support

parent fb49c3a1
......@@ -16,6 +16,10 @@ else()
if (MODEMMANAGERQT_FOUND)
message(STATUS "Enabling ModemManager support")
set(WITH_MODEMMANAGER_SUPPORT 1)
if (${MODEMMANAGERQT_VERSION} VERSION_GREATER 0.7.990)
set(MODEMMANAGERQT_ONE 1)
endif()
else()
message(STATUS "ModemManagerQt not found")
set(WITH_MODEMMANAGER_SUPPORT 0)
......@@ -30,10 +34,6 @@ endif (NOT NETWORKMANAGERQT_FOUND)
set(KDE_NETWORK_VERSION "0.9.3.1")
set(PLASMA_NM_VERSION "0.9.3.1")
if (${MODEMMANAGERQT_VERSION} VERSION_GREATER 0.7.990)
set(MODEMMANAGERQT_ONE 1)
endif()
configure_file(config.h.cmake
${CMAKE_CURRENT_BINARY_DIR}/config.h )
......
if (MODEMMANAGERQT_FOUND)
if (WITH_MODEMMANAGER_SUPPORT)
set(kded_networkmanagement_SRCS
notification.cpp
passworddialog.cpp
......
if (MODEMMANAGERQT_FOUND)
if (WITH_MODEMMANAGER_SUPPORT)
set(plasmanetworkmanagement-internal_SRCS
settingwidget.cpp
vpnuiplugin.cpp
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment