diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | modules/FindAttica.cmake | 17 | 
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) | 
