aboutsummaryrefslogtreecommitdiff
path: root/modules/FindAttica.cmake
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 /modules/FindAttica.cmake
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
Diffstat (limited to 'modules/FindAttica.cmake')
-rw-r--r--modules/FindAttica.cmake17
1 files changed, 17 insertions, 0 deletions
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)