aboutsummaryrefslogtreecommitdiff
path: root/modules/FindKdeMultimedia.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'modules/FindKdeMultimedia.cmake')
-rw-r--r--modules/FindKdeMultimedia.cmake48
1 files changed, 0 insertions, 48 deletions
diff --git a/modules/FindKdeMultimedia.cmake b/modules/FindKdeMultimedia.cmake
deleted file mode 100644
index c8850291..00000000
--- a/modules/FindKdeMultimedia.cmake
+++ /dev/null
@@ -1,48 +0,0 @@
-# Module to see if we have KDE4 kdemultimedia installed
-#
-# This module defines
-# KDEMULTIMEDIA_INCLUDE_DIR - the include dir
-# KCDDB_LIBRARY - the kcddb library
-# KCOMPACTDISC_LIBRARY - the kcompactdisk library
-# KDEMULTIMEDIA_LIBRARIES - all of the KDE multimedia libraries together
-# KDEMULTIMEDIA_FOUND - true if the above have been found
-
-# KDEMULTIMEDIA_INCLUDE_DIR
-# KDEMULTIMEDIA_FOUND
-# Copyright (C) 2007 Laurent Montel <montel@kde.org>
-# Copyright (C) 2007 Gerd Fleischer <gerdfleischer@web.de>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-
-if (KDEMULTIMEDIA_INCLUDE_DIR)
- # Already in cache, be silent
- set(KDEMULTIMEDIA_FOUND TRUE)
-endif (KDEMULTIMEDIA_INCLUDE_DIR)
-
-
-find_path(KDEMULTIMEDIA_INCLUDE_DIR NAMES libkcddb/kcddb.h libkcompactdisc/kcompactdisc.h
- PATHS
- ${INCLUDE_INSTALL_DIR}
-)
-
-find_library(KCDDB_LIBRARY NAMES kcddb
- PATHS
- ${LIB_INSTALL_DIR}
-)
-
-find_library(KCOMPACTDISC_LIBRARY NAMES kcompactdisc
- PATHS
- ${LIB_INSTALL_DIR}
-)
-
-# audioencoder, audiocdplugins?
-
-set(KDEMULTIMEDIA_LIBRARIES ${KCDDB_LIBRARY} ${KCOMPACTDISC_LIBRARY})
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(KdeMultimedia DEFAULT_MSG KDEMULTIMEDIA_LIBRARIES KDEMULTIMEDIA_INCLUDE_DIR )
-
-mark_as_advanced(KDEMULTIMEDIA_INCLUDE_DIR KDEMULTIMEDIA_LIBRARIES)
-