diff options
author | Pino Toscano <pino@kde.org> | 2017-05-20 08:08:20 +0200 |
---|---|---|
committer | Pino Toscano <pino@kde.org> | 2017-05-20 08:08:20 +0200 |
commit | 97ba63aafa510e64c78a529cb5e88eebd2e97967 (patch) | |
tree | aa845b80f997f86db2fef8878b8d55576dff189a /attic/modules/FindOpenEXR.cmake | |
parent | b58820c4af6407ca6a67d342d7bc43ab09778e7d (diff) | |
download | extra-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/FindOpenEXR.cmake')
-rw-r--r-- | attic/modules/FindOpenEXR.cmake | 104 |
1 files changed, 0 insertions, 104 deletions
diff --git a/attic/modules/FindOpenEXR.cmake b/attic/modules/FindOpenEXR.cmake deleted file mode 100644 index 405b892d..00000000 --- a/attic/modules/FindOpenEXR.cmake +++ /dev/null @@ -1,104 +0,0 @@ -# Try to find the OpenEXR libraries -# This check defines: -# -# OPENEXR_FOUND - system has OpenEXR -# OPENEXR_INCLUDE_DIR - OpenEXR include directory -# OPENEXR_LIBRARIES - Libraries needed to use OpenEXR -# OPENEXR_DEFINITIONS - definitions required to use OpenEXR - -# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> -# -# Redistribution and use is allowed according to the terms of the BSD license. -# For details see the accompanying COPYING-CMAKE-SCRIPTS file. - - -if (OPENEXR_INCLUDE_DIR AND OPENEXR_LIBRARIES) - # in cache already - set(OPENEXR_FOUND TRUE) - -else (OPENEXR_INCLUDE_DIR AND OPENEXR_LIBRARIES) - - # use pkg-config to get the directories and then use these values - # in the FIND_PATH() and FIND_LIBRARY() calls - find_package(PkgConfig) - pkg_check_modules(PC_OPENEXR QUIET OpenEXR) - - FIND_PATH(OPENEXR_INCLUDE_DIR ImfRgbaFile.h - HINTS - ${PC_OPENEXR_INCLUDEDIR} - ${PC_OPENEXR_INCLUDE_DIRS} - PATH_SUFFIXES OpenEXR - ) - - FIND_LIBRARY(OPENEXR_HALF_LIBRARY NAMES Half - HINTS - ${PC_OPENEXR_LIBDIR} - ${PC_OPENEXR_LIBRARY_DIRS} - ) - - - FIND_LIBRARY(OPENEXR_IEX_LIBRARY NAMES Iex - PATHS - ${PC_OPENEXR_LIBDIR} - ${PC_OPENEXR_LIBRARY_DIRS} - ) - - FIND_LIBRARY(OPENEXR_IMATH_LIBRARY NAMES Imath - HINTS - ${PC_OPENEXR_LIBDIR} - ${PC_OPENEXR_LIBRARY_DIRS} - NO_DEFAULT_PATH - ) - - FIND_LIBRARY(OPENEXR_ILMIMF_LIBRARY NAMES IlmImf - HINTS - ${PC_OPENEXR_LIBDIR} - ${PC_OPENEXR_LIBRARY_DIRS} - ) - - FIND_LIBRARY(OPENEXR_ILMTHREAD_LIBRARY NAMES IlmThread - HINTS - ${PC_OPENEXR_LIBDIR} - ${PC_OPENEXR_LIBRARY_DIRS} - ) - - if (OPENEXR_INCLUDE_DIR AND OPENEXR_IMATH_LIBRARY AND OPENEXR_ILMIMF_LIBRARY AND OPENEXR_IEX_LIBRARY AND OPENEXR_HALF_LIBRARY) - set(OPENEXR_FOUND TRUE) - if (OPENEXR_ILMTHREAD_LIBRARY) - set(OPENEXR_LIBRARIES ${OPENEXR_IMATH_LIBRARY} ${OPENEXR_ILMIMF_LIBRARY} ${OPENEXR_IEX_LIBRARY} ${OPENEXR_HALF_LIBRARY} ${OPENEXR_ILMTHREAD_LIBRARY} ) - else (OPENEXR_ILMTHREAD_LIBRARY) - set(OPENEXR_LIBRARIES ${OPENEXR_IMATH_LIBRARY} ${OPENEXR_ILMIMF_LIBRARY} ${OPENEXR_IEX_LIBRARY} ${OPENEXR_HALF_LIBRARY} ) - endif (OPENEXR_ILMTHREAD_LIBRARY) - - if (WIN32) - set(_OPENEXR_DEFINITIONS -DOPENEXR_DLL) - else (WIN32) - set(_OPENEXR_DEFINITIONS) - endif (WIN32) - - set(OPENEXR_DEFINITIONS ${_OPENEXR_DEFINITIONS}) - - endif (OPENEXR_INCLUDE_DIR AND OPENEXR_IMATH_LIBRARY AND OPENEXR_ILMIMF_LIBRARY AND OPENEXR_IEX_LIBRARY AND OPENEXR_HALF_LIBRARY) - - - if (OPENEXR_FOUND) - if (NOT OpenEXR_FIND_QUIETLY) - message(STATUS "Found OPENEXR: ${OPENEXR_LIBRARIES}") - endif (NOT OpenEXR_FIND_QUIETLY) - else (OPENEXR_FOUND) - if (OpenEXR_FIND_REQUIRED) - message(FATAL_ERROR "Could NOT find OPENEXR") - endif (OpenEXR_FIND_REQUIRED) - endif (OPENEXR_FOUND) - - mark_as_advanced( - OPENEXR_INCLUDE_DIR - OPENEXR_LIBRARIES - OPENEXR_ILMIMF_LIBRARY - OPENEXR_ILMTHREAD_LIBRARY - OPENEXR_IMATH_LIBRARY - OPENEXR_IEX_LIBRARY - OPENEXR_HALF_LIBRARY - OPENEXR_DEFINITIONS ) - -endif (OPENEXR_INCLUDE_DIR AND OPENEXR_LIBRARIES) |