Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Telepathy Accounts KCM
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Network
Telepathy Accounts KCM
Commits
48abd3f5
Commit
48abd3f5
authored
Sep 02, 2013
by
Anant Kamath
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed CMake check for ModemManager
parent
73ef2bd6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
42 deletions
+0
-42
cmake/modules/FindModemManager.cmake
cmake/modules/FindModemManager.cmake
+0
-42
No files found.
cmake/modules/FindModemManager.cmake
deleted
100644 → 0
View file @
73ef2bd6
# - Try to find ModemManager
# Once done this will define
#
# MODEMMANAGER_FOUND - system has ModemManager
# MODEMMANAGER_INCLUDE_DIRS - the ModemManager include directories
# MODEMMANAGER_LIBRARIES - the libraries needed to use ModemManager
# MODEMMANAGER_CFLAGS - Compiler switches required for using ModemManager
# MODEMMANAGER_VERSION - version number of ModemManager
# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org>
# Copyright (c) 2007, Will Stephenson, <wstephenson@kde.org>
# Copyright (c) 2013, Lukas Tinkl, <ltinkl@redhat.com>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
IF
(
MODEMMANAGER_INCLUDE_DIRS
)
# in cache already
SET
(
NetworkManager_FIND_QUIETLY TRUE
)
ENDIF
(
MODEMMANAGER_INCLUDE_DIRS
)
IF
(
NOT WIN32
)
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
find_package
(
PkgConfig
)
PKG_SEARCH_MODULE
(
MODEMMANAGER ModemManager
)
ENDIF
(
NOT WIN32
)
IF
(
MODEMMANAGER_FOUND
)
IF
(
ModemManager_FIND_VERSION
AND
(
"
${
MODEMMANAGER_VERSION
}
"
VERSION_LESS
"
${
ModemManager_FIND_VERSION
}
"
))
MESSAGE
(
FATAL_ERROR
"ModemManager
${
MODEMMANAGER_VERSION
}
is too old, need at least
${
ModemManager_FIND_VERSION
}
"
)
ELSEIF
(
NOT ModemManager_FIND_QUIETLY
)
MESSAGE
(
STATUS
"Found ModemManager
${
MODEMMANAGER_VERSION
}
:
${
MODEMMANAGER_INCLUDE_DIRS
}
"
)
ENDIF
()
ELSE
(
MODEMMANAGER_FOUND
)
IF
(
ModemManager_FIND_REQUIRED
)
MESSAGE
(
FATAL_ERROR
"Could NOT find ModemManager, check FindPkgConfig output above!"
)
ENDIF
(
ModemManager_FIND_REQUIRED
)
ENDIF
(
MODEMMANAGER_FOUND
)
MARK_AS_ADVANCED
(
MODEMMANAGER_INCLUDE_DIRS
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment