aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/FindKDE4.cmake10
1 files changed, 7 insertions, 3 deletions
diff --git a/modules/FindKDE4.cmake b/modules/FindKDE4.cmake
index ef0a65b8..3794f564 100644
--- a/modules/FindKDE4.cmake
+++ b/modules/FindKDE4.cmake
@@ -194,9 +194,13 @@ IF (WIN32)
# at first find the kdewin32 library, this has to be compiled and installed before kdelibs/
- FIND_LIBRARY(KDEWIN32_LIBRARY NAMES kdewin32 PATHS )
- FIND_PATH(KDEWIN32_INCLUDE_DIR winposix_export.h )
-
+ # search for kdewin32 in the default install directory for applications (default of (n)make install)
+ FIND_LIBRARY(KDEWIN32_LIBRARY NAMES kdewin32 PATHS
+ $ENV{ProgramFiles}/kdewin32/lib )
+ FIND_PATH(KDEWIN32_INCLUDE_DIR winposix_export.h
+ $ENV{ProgramFiles}/kdewin32/include )
+
+
# kdelibs/win/ has to be built before the rest of kdelibs/
# eventually it will be moved out from kdelibs/
IF (NOT KDEWIN32_LIBRARY OR NOT KDEWIN32_INCLUDE_DIR)