aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)