aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederik Gladhorn <gladhorn@kde.org>2009-11-17 12:38:27 +0000
committerFrederik Gladhorn <gladhorn@kde.org>2009-11-17 12:38:27 +0000
commit83a60c0ed58c2fd9658de70ca8c9bd94fb862194 (patch)
treef6418b14cb33aee8bd864df642a6bd4cc14bd0eb
parentd1a9cc7249e987cb4c465e502156a92e695314e1 (diff)
downloadextra-cmake-modules-83a60c0ed58c2fd9658de70ca8c9bd94fb862194.tar.gz
extra-cmake-modules-83a60c0ed58c2fd9658de70ca8c9bd94fb862194.tar.bz2
move FindAttica.cmake into kdelibs
svn path=/trunk/KDE/kdelibs/; revision=1050497
-rw-r--r--modules/CMakeLists.txt1
-rw-r--r--modules/FindAttica.cmake17
2 files changed, 18 insertions, 0 deletions
diff --git a/modules/CMakeLists.txt b/modules/CMakeLists.txt
index 728761ae..3c41084a 100644
--- a/modules/CMakeLists.txt
+++ b/modules/CMakeLists.txt
@@ -20,6 +20,7 @@ set(cmakeFiles CheckCXXSourceCompiles.cmake
FindAGG.cmake
FindAkode.cmake
FindAlsa.cmake
+ FindAttica.cmake
FindAutomoc4.cmake
FindAvahi.cmake
FindBerkeleyDB.cmake
diff --git a/modules/FindAttica.cmake b/modules/FindAttica.cmake
new file mode 100644
index 00000000..1bc1693a
--- /dev/null
+++ b/modules/FindAttica.cmake
@@ -0,0 +1,17 @@
+# Try to find the Attica library
+# Once done this will define
+#
+# ATTICA_FOUND Indicates that Attica was found
+# ATTICA_LIBRARIES Libraries needed to use Attica
+# ATTICA_LIBRARY_DIRS Paths needed for linking against Attica
+# ATTICA_INCLUDE_DIRS Paths needed for finding Attica include files
+#
+# Copyright (c) 2009 Frederik Gladhorn <gladhorn@kde.org>
+#
+# Redistribution and use is allowed according to the terms of the BSD license.
+
+
+if (NOT WIN32)
+ include(FindPkgConfig)
+ pkg_check_modules(ATTICA REQUIRED libattica)
+endif (NOT WIN32)