aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2007-07-23 15:29:38 +0000
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2007-07-23 15:29:38 +0000
commit2a29a2307adbadd15d0c46e632b3cb7f0a673193 (patch)
treed54c25e834a7a22734a419c4008064da8e90b906 /modules
parenta63c25826690dcf298aad1f67ea895b23ff9869c (diff)
downloadextra-cmake-modules-2a29a2307adbadd15d0c46e632b3cb7f0a673193.tar.gz
extra-cmake-modules-2a29a2307adbadd15d0c46e632b3cb7f0a673193.tar.bz2
fix for QCA2 include dir on win32
svn path=/trunk/KDE/kdelibs/; revision=691401
Diffstat (limited to 'modules')
-rw-r--r--modules/FindQCA2.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/FindQCA2.cmake b/modules/FindQCA2.cmake
index 795aa7cb..87c93b96 100644
--- a/modules/FindQCA2.cmake
+++ b/modules/FindQCA2.cmake
@@ -34,8 +34,11 @@ else (QCA2_INCLUDE_DIR AND QCA2_LIBRARIES)
NO_DEFAULT_PATH
)
ELSE (NOT WIN32)
- FIND_PATH(QCA2_INCLUDE_DIR QtCrypto)
+ FIND_PATH(QCA2_INCLUDE_DIR QtCrypto/qca.h)
FIND_LIBRARY(QCA2_LIBRARIES NAMES qca)
+ IF(QCA2_INCLUDE_DIR)
+ SET(QCA2_INCLUDE_DIR ${QCA2_INCLUDE_DIR}/QtCrypto CACHE TYPE PATH FORCE)
+ ENDIF(QCA2_INCLUDE_DIR)
ENDIF (NOT WIN32)