aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-08-15 00:45:40 +0000
committerAlexander Neundorf <neundorf@kde.org>2007-08-15 00:45:40 +0000
commit1d8b82b14931c06ce0cf9341eb0890028ddd955f (patch)
tree351ae60053ba4282cfe9cb86141fcb6c213070b1
parentd1932ac9e1d64905a8b3081928dec91e138a47e0 (diff)
downloadextra-cmake-modules-1d8b82b14931c06ce0cf9341eb0890028ddd955f.tar.gz
extra-cmake-modules-1d8b82b14931c06ce0cf9341eb0890028ddd955f.tar.bz2
-change was correct, using PATH_SUFFIXES should be even better, then the header will be also found in /usr/include/blitz, /usr/local/include/blitz etc.
Alex CCMAIL: daniel.duley@verizon.net svn path=/trunk/KDE/kdelibs/; revision=700184
-rw-r--r--modules/FindBlitz.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/FindBlitz.cmake b/modules/FindBlitz.cmake
index 891f82e3..4d88fb92 100644
--- a/modules/FindBlitz.cmake
+++ b/modules/FindBlitz.cmake
@@ -17,9 +17,10 @@ endif (BLITZ_INCLUDES AND BLITZ_LIBRARIES)
find_path(BLITZ_INCLUDES
NAMES
blitz.h
+ PATH_SUFFIXES blitz
PATHS
- ${KDE4_INCLUDE_DIR}/blitz
- ${INCLUDE_INSTALL_DIR}/blitz
+ ${KDE4_INCLUDE_DIR}
+ ${INCLUDE_INSTALL_DIR}
)
FIND_LIBRARY(BLITZ_LIBRARIES