aboutsummaryrefslogtreecommitdiff
path: root/attic/modules/FindKopete.cmake
diff options
context:
space:
mode:
authorPino Toscano <pino@kde.org>2017-05-20 08:08:20 +0200
committerPino Toscano <pino@kde.org>2017-05-20 08:08:20 +0200
commit97ba63aafa510e64c78a529cb5e88eebd2e97967 (patch)
treeaa845b80f997f86db2fef8878b8d55576dff189a /attic/modules/FindKopete.cmake
parentb58820c4af6407ca6a67d342d7bc43ab09778e7d (diff)
downloadextra-cmake-modules-97ba63aafa510e64c78a529cb5e88eebd2e97967.tar.gz
extra-cmake-modules-97ba63aafa510e64c78a529cb5e88eebd2e97967.tar.bz2
Drop modules from attic that are not useful anymore
Even if they are in attic and not actually in use, drop a number of modules (and old tests) that it does not make sense to keep carry further: - FindAlsa.cmake, config-alsa.h.cmake: cmake has been providing a better FindALSA for long time - FindEigen.cmake, FindEigen2.cmake & test: Eigen v1 & v2 are deprecated and unmaintained for years - FindGStreamer.cmake: gstreamer-0.10 is long dead upstream - FindKdcraw.cmake, FindKDE4Workspace.cmake, FindKdeMultimedia.cmake, FindKDevPlatform.cmake, FindKexiv2.cmake, FindKipi.cmake, FindLibAttica.cmake, FindLibKonq.cmake: modules for KDE 4 libraries -- they are provided already by kdelibs 4.x, and the frameworks versions of those libraries provide cmake config files already - FindKNepomuk.cmake, FindKonto.cmake, FindNepomuk.cmake, NepomukAddOntologyClasses.cmake, NepomukMacros.cmake: Nepomuk stuff, which is long dead - FindKopete.cmake: the Frameworks version of Kopete is not released yet, so it'd rather provide own cmake config files - FindKorundum.cmake: Korudum is dead upstream, and so is Ruby 1.8 - FindLCMS.cmake & test: LCMS 1 is dead for many years already - FindMusicBrainz.cmake: libmusicbrainz v2 is long dead, and the web service API it uses was dismantled years ago - FindOpenEXR.cmake & test: ECM already provides an improved and polished version of this module - FindPolkitQt.cmake: polkit-qt is long dead, replaced by polkit-qt-1 - FindPopplerQt4.cmake: ECM 5.19+ already provides a better FindPoppler module - FindSharedDesktopOntologies.cmake: dead upstream, but also used to provide cmake config files already - tests for Blitz, Flex, LibXslt: their modules are not even in attic
Diffstat (limited to 'attic/modules/FindKopete.cmake')
-rw-r--r--attic/modules/FindKopete.cmake87
1 files changed, 0 insertions, 87 deletions
diff --git a/attic/modules/FindKopete.cmake b/attic/modules/FindKopete.cmake
deleted file mode 100644
index 0bb98ee8..00000000
--- a/attic/modules/FindKopete.cmake
+++ /dev/null
@@ -1,87 +0,0 @@
-# - Try to find the Kopete library
-# Once done this will define
-#
-# Kopete_FOUND - system has kopete
-# KOPETE_INCLUDE_DIR - the kopete include directory
-# KOPETE_LIBRARIES - Link these to use kopete
-
-# Copyright (c) 2007 Charles Connell <charles@connells.org>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-if(KOPETE_INCLUDE_DIR AND KOPETE_LIBRARIES)
-
- # read from cache
- set(Kopete_FOUND TRUE)
-
-else()
-
- FIND_PATH(KOPETE_INCLUDE_DIR
- NAMES
- kopete/kopete_export.h
- PATHS
- ${KDE4_INCLUDE_DIR}
- ${INCLUDE_INSTALL_DIR}
- )
-
- FIND_LIBRARY(KOPETE_LIBRARIES
- NAMES
- kopete
- PATHS
- ${KDE4_LIB_DIR}
- ${LIB_INSTALL_DIR}
- )
- if(KOPETE_INCLUDE_DIR AND KOPETE_LIBRARIES)
- set(Kopete_FOUND TRUE)
- endif()
-
- if(MSVC)
- FIND_LIBRARY(KOPETE_LIBRARIES_DEBUG
- NAMES
- kopeted
- PATHS
- ${KDE4_LIB_DIR}
- ${LIB_INSTALL_DIR}
- )
- if(NOT KOPETE_LIBRARIES_DEBUG)
- set(Kopete_FOUND FALSE)
- endif()
-
- if(MSVC_IDE)
- if( NOT KOPETE_LIBRARIES_DEBUG OR NOT KOPETE_LIBRARIES)
- message(FATAL_ERROR "\nCould NOT find the debug AND release version of the Kopete library.\nYou need to have both to use MSVC projects.\nPlease build and install both kopete libraries first.\n")
- endif()
- else()
- string(TOLOWER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_TOLOWER)
- if(CMAKE_BUILD_TYPE_TOLOWER MATCHES debug)
- set(KOPETE_LIBRARIES ${KOPETE_LIBRARIES_DEBUG})
- else()
- set(KOPETE_LIBRARIES ${KOPETE_LIBRARIES})
- endif()
- endif()
- endif()
-
- if(Kopete_FOUND)
- if(NOT Kopete_FIND_QUIETLY)
- message(STATUS "Found Kopete: ${KOPETE_LIBRARIES}")
- endif()
- else()
- if(Kopete_FIND_REQUIRED)
- if(NOT KOPETE_INCLUDE_DIR)
- message(FATAL_ERROR "Could not find Kopete includes.")
- endif()
- if(NOT KOPETE_LIBRARIES)
- message(FATAL_ERROR "Could not find Kopete library.")
- endif()
- else()
- if(NOT KOPETE_INCLUDE_DIR)
- message(STATUS "Could not find Kopete includes.")
- endif()
- if(NOT KOPETE_LIBRARIES)
- message(STATUS "Could not find Kopete library.")
- endif()
- endif()
- endif()
-
-endif()