From 83a60c0ed58c2fd9658de70ca8c9bd94fb862194 Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Tue, 17 Nov 2009 12:38:27 +0000 Subject: move FindAttica.cmake into kdelibs svn path=/trunk/KDE/kdelibs/; revision=1050497 --- modules/CMakeLists.txt | 1 + modules/FindAttica.cmake | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 modules/FindAttica.cmake (limited to 'modules') 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 +# +# 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) -- cgit v1.2.1