aboutsummaryrefslogtreecommitdiff
path: root/modules/FindKDE4Internal.cmake
diff options
context:
space:
mode:
authorPeter Kümmel <syntheticpp@gmx.net>2006-07-13 13:14:26 +0000
committerPeter Kümmel <syntheticpp@gmx.net>2006-07-13 13:14:26 +0000
commit3ee8f55fc4ef03d3c164bf1ce451dacd881cb3f3 (patch)
treea8c8a61d1fd0601f7414ca21d0cd6dded5df9f95 /modules/FindKDE4Internal.cmake
parentfd3a1772eded684647d10ac39f4eb2ef14ec0d9c (diff)
downloadextra-cmake-modules-3ee8f55fc4ef03d3c164bf1ce451dacd881cb3f3.tar.gz
extra-cmake-modules-3ee8f55fc4ef03d3c164bf1ce451dacd881cb3f3.tar.bz2
handle win32 support in FindKDE4Internal.cmake
svn path=/trunk/KDE/kdelibs/; revision=561849
Diffstat (limited to 'modules/FindKDE4Internal.cmake')
-rw-r--r--modules/FindKDE4Internal.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake
index b723517f..7f1e2117 100644
--- a/modules/FindKDE4Internal.cmake
+++ b/modules/FindKDE4Internal.cmake
@@ -449,7 +449,9 @@ if (WIN32)
find_package(KDEWIN32 REQUIRED)
- set( _KDE4_PLATFORM_INCLUDE_DIRS ${KDEWIN32_INCLUDES})
+ find_package(GNUWIN32)
+
+ set( _KDE4_PLATFORM_INCLUDE_DIRS ${KDEWIN32_INCLUDES} ${GNUWIN32_INCLUDE_DIR})
# if we are compiling kdelibs, add KDEWIN32_LIBRARIES explicitely,
# otherwise they come from KDELibsDependencies.cmake, Alex