summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <[email protected]>2016-04-18 01:15:07 +0200
committerFriedrich W. H. Kossebau <[email protected]>2016-04-18 01:15:07 +0200
commitaeb56e6657cab8220444da38397c6586ad5493c2 (patch)
tree1f4dd51b0cd7aa105678fd66ed3a9a42f19e696a
parent92ad8cf7ede04df63866b45ae791f623f4fa7968 (diff)
Remove no longer used Find*.cmake for QtDeclarative/QtLocation/QtMobility
-rw-r--r--cmake/modules/FindQtDeclarative.cmake8
-rw-r--r--cmake/modules/FindQtLocation.cmake29
-rw-r--r--cmake/modules/FindQtMobility.cmake11
3 files changed, 0 insertions, 48 deletions
diff --git a/cmake/modules/FindQtDeclarative.cmake b/cmake/modules/FindQtDeclarative.cmake
deleted file mode 100644
index 683b671..0000000
--- a/cmake/modules/FindQtDeclarative.cmake
+++ /dev/null
@@ -1,8 +0,0 @@
-if (NOT QT_QTDECLARATIVE_FOUND)
- find_path(QT_QTDECLARATIVE_INCLUDE_DIR NAMES QtDeclarative PATHS ${QT_HEADERS_DIR}/QtDeclarative NO_DEFAULT_PATH)
- find_library(QT_QTDECLARATIVE_LIBRARY NAMES QtDeclarative HINTS ${QT_LIBRARY_DIR})
-
- if (QT_QTDECLARATIVE_INCLUDE_DIR AND QT_QTDECLARATIVE_LIBRARY)
- set(QT_QTDECLARATIVE_FOUND ON)
- endif ()
-endif ()
diff --git a/cmake/modules/FindQtLocation.cmake b/cmake/modules/FindQtLocation.cmake
deleted file mode 100644
index bc14b63..0000000
--- a/cmake/modules/FindQtLocation.cmake
+++ /dev/null
@@ -1,29 +0,0 @@
-# - Find Qt Location libs
-#
-# This module determines whether QtLocation is installed.
-#
-# Copyright (c) 2011, Daniel Marth, <[email protected]>
-# Copyright (c) 2011, Bernhard Beschow, <[email protected]>
-#
-
-# try using pkg-config first
-include(FindPkgConfig)
-
-pkg_check_modules(QtLocation QtLocation>=1.0.1)
-
-IF(QtLocation_FOUND)
- SET(QTLOCATION_FOUND ${QtLocation_FOUND})
- SET(QTLOCATION_INCLUDE_DIR ${QtLocation_INCLUDE_DIRS})
- SET(QTLOCATION_LIBRARIES ${QtLocation_LIBRARIES})
-ENDIF(QtLocation_FOUND)
-
-# no success using pkg-config, try manually
-IF(NOT QTLOCATION_FOUND)
- FIND_PACKAGE(QtMobility)
- IF(QTMOBILITY_FOUND)
- FIND_PATH(QTLOCATION_INCLUDE_DIR NAMES QGeoPositionInfoSource PATH_SUFFIXES QtLocation)
- FIND_LIBRARY(QTLOCATION_LIBRARIES NAMES QtLocation)
- ENDIF(QTMOBILITY_FOUND)
-
- FIND_PACKAGE_HANDLE_STANDARD_ARGS( QtLocation DEFAULT_MSG QTLOCATION_INCLUDE_DIR QTLOCATION_LIBRARIES )
-ENDIF(NOT QTLOCATION_FOUND)
diff --git a/cmake/modules/FindQtMobility.cmake b/cmake/modules/FindQtMobility.cmake
deleted file mode 100644
index 548594e..0000000
--- a/cmake/modules/FindQtMobility.cmake
+++ /dev/null
@@ -1,11 +0,0 @@
-# - Find Qt Mobility libs
-#
-# This module determines whether QtMobility is installed.
-#
-# Copyright (c) 2011, Daniel Marth, <[email protected]>
-#
-
-FIND_PATH( QTMOBILITY_INCLUDE_DIR NAMES qmobilityglobal.h PATH_SUFFIXES QtMobility )
-
-FIND_PACKAGE_HANDLE_STANDARD_ARGS( QtMobility DEFAULT_MSG QTMOBILITY_INCLUDE_DIR )
-