plasma-framework/FindPlasma.cmake
Sebastian Kügler fde2a1f709 Try a bit saner setup of the cmake foo
- Installs PlasmaConfig, FindPlasma, PlasmaMacros, etc.
- find_package Plasma works
- version set to 2.0.0, do we dare that?

This might bump into FindPlasma.cmake, which is installed by kdelibs,
and should be removed: it applies to Plasma 4.1 only and bails out,
since after that, we used the KDE4 libs find_package foo. Now we're kind
of going back to pre-4.2 times. :-)
2013-05-03 03:17:26 +02:00

23 lines
753 B
CMake

# - Try to find konqueror library
# Once done this will define
#
# PLASMA_FOUND - system has libkonq library
# PLASMA_INCLUDE_DIR - the PLASMA include directory
# PLASMA_LIBRARY - the libkonq library
# Original file: FindMarbleWidget.cmake (found in digikam-0.10.0-beta2)
# copyright 2008 by Patrick Spendrin <ps_ml@gmx.de>
# Copyright (c) 2009, Alexander Neundorf, <neundorf@kde.org>
# use this file as you like
#
# Modifications to find libkonq by Joachim Eibl 2008
find_path(PLASMA_INCLUDE_DIR plasma/plasma_export.h )
find_library(PLASMA_LIBRARY plasma)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(PLASMA DEFAULT_MSG PLASMA_INCLUDE_DIR PLASMA_LIBRARY )
mark_as_advanced(PLASMA_INCLUDE_DIR PLASMA_LIBRARY)