aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Holzammer <andy@kdab.com>2010-07-13 15:01:26 +0000
committerAndreas Holzammer <andy@kdab.com>2010-07-13 15:01:26 +0000
commit90db91b07d78008629b210b69109e636ed8df209 (patch)
tree343d3ae565c30aa2741939e3023f06cbfd83c34d
parentbd1362891b49d7477faf5b06a2b821adb4f90809 (diff)
downloadextra-cmake-modules-90db91b07d78008629b210b69109e636ed8df209.tar.gz
extra-cmake-modules-90db91b07d78008629b210b69109e636ed8df209.tar.bz2
- added wcecompat as dependency of kdewin so that if kdewin is linked wcecompat is also linked
svn path=/trunk/KDE/kdelibs/; revision=1149495
-rw-r--r--modules/FindKDEWin.cmake8
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/FindKDEWin.cmake b/modules/FindKDEWin.cmake
index 87076767..f9b7bf00 100644
--- a/modules/FindKDEWin.cmake
+++ b/modules/FindKDEWin.cmake
@@ -14,7 +14,13 @@
if (WIN32)
+
+ if(WINCE)
+ FIND_PACKAGE(WCECOMPAT REQUIRED)
+ endif(WINCE)
+
if (NOT KDEWIN_LIBRARY)
+
find_path(KDEWIN_INCLUDE_DIR kdewin_export.h
${KDE4_INCLUDE_DIR}
@@ -48,7 +54,7 @@ if (WIN32)
if(NOT WINCE)
set(KDEWIN_LIBRARIES ${KDEWIN_LIBRARY} user32 shell32 ws2_32 netapi32 userenv)
else(NOT WINCE)
- set(KDEWIN_LIBRARIES ${KDEWIN_LIBRARY} ws2 )
+ set(KDEWIN_LIBRARIES ${KDEWIN_LIBRARY} ws2 ${WCECOMPAT_LIBRARIES})
endif(NOT WINCE)
if (MINGW)