diff options
author | Romain Pokrzywka <romain@kdab.net> | 2009-07-14 13:14:04 +0000 |
---|---|---|
committer | Romain Pokrzywka <romain@kdab.net> | 2009-07-14 13:14:04 +0000 |
commit | b4ba1600ca61259417da8571b14d0d924f0fe862 (patch) | |
tree | 42a7f92356b09e92d0871c291afafa5d5f1fe438 /modules | |
parent | 00a6480f957d06b8679c1e62cded97402fb10e50 (diff) | |
download | extra-cmake-modules-b4ba1600ca61259417da8571b14d0d924f0fe862.tar.gz extra-cmake-modules-b4ba1600ca61259417da8571b14d0d924f0fe862.tar.bz2 |
add the standard KDE paths to the include/lib search paths, useful when KDE is built with emerge
svn path=/trunk/KDE/kdelibs/; revision=996461
Diffstat (limited to 'modules')
-rw-r--r-- | modules/FindKDEWin.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/FindKDEWin.cmake b/modules/FindKDEWin.cmake index 469ba3dc..2da5384e 100644 --- a/modules/FindKDEWin.cmake +++ b/modules/FindKDEWin.cmake @@ -17,6 +17,7 @@ if (WIN32) if (NOT KDEWIN_LIBRARY) find_path(KDEWIN_INCLUDE_DIR kdewin_export.h + ${KDE4_INCLUDE_DIR} ${CMAKE_INCLUDE_PATH} ${CMAKE_INSTALL_PREFIX}/include ) @@ -36,6 +37,7 @@ if (WIN32) find_library(KDEWIN_LIBRARY NAMES ${LIBRARY_NAME} PATHS + ${KDE4_LIB_DIR} ${_cmakeLibraryPathCmakeStyle} ${CMAKE_INSTALL_PREFIX}/lib NO_SYSTEM_ENVIRONMENT_PATH |