aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/FindKDE4.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/FindKDE4.cmake b/modules/FindKDE4.cmake
index 6fb1e139..3a68ed4f 100644
--- a/modules/FindKDE4.cmake
+++ b/modules/FindKDE4.cmake
@@ -156,9 +156,10 @@ ENDIF(MINGW)
IF(MSVC)
FIND_LIBRARY( KDE4_KDEWIN32_LIBRARY NAMES kdewin32 )
- IF ( NOT KDE4_WIN32_LIBRARY )
+ IF ( NOT KDE4_KDEWIN32_LIBRARY )
MESSAGE( FATAL_ERROR "Could not find kdewin32 library, make sure to build and install kdelibs/win/ first" )
- ENDIF ( NOT KDE4_WIN32_LIBRARY )
+ ENDIF ( NOT KDE4_KDEWIN32_LIBRARY )
+
SET( QT_AND_KDECORE_LIBS ${QT_AND_KDECORE_LIBS} ${KDE4_KDEWIN32_LIBRARY})
SET( _KDE4_PLATFORM_INCLUDE_DIRS ${KDE4_INCLUDE_DIR}/win/include ${KDE4_INCLUDE_DIR}/win/include/msvc )
SET( _KDE4_PLATFORM_DEFINITIONS -D_WINSOCKAPI_ -DWIN32_LEAN_AND_MEAN -DMAKE_KDEWIN32_LIB -DUNICODE )