diff options
| -rw-r--r-- | modules/FindKDEWIN32.cmake | 8 | 
1 files changed, 5 insertions, 3 deletions
| diff --git a/modules/FindKDEWIN32.cmake b/modules/FindKDEWIN32.cmake index 5ecb13fe..8ac3fe58 100644 --- a/modules/FindKDEWIN32.cmake +++ b/modules/FindKDEWIN32.cmake @@ -1,5 +1,5 @@  # - Try to find the directory in which the kdewin32 library and other win32 related libraries lives -# 
 +#   # Once done this will define  #  #  KDEWIN32_FOUND - system has KDEWIN32 @@ -43,8 +43,9 @@ if (WIN32)    find_library(KDEWIN32_LIBRARY_RELEASE NAMES kdewin32      PATHS  -    ${KDEWIN32_DIR}/lib -    ${CMAKE_INSTALL_PREFIX}/lib +      ${KDEWIN32_DIR}/lib +      ${CMAKE_INSTALL_PREFIX}/lib +    NO_SYSTEM_ENVIRONMENT_PATH    )    # msvc makes a difference between debug and release @@ -53,6 +54,7 @@ if (WIN32)        PATHS           ${KDEWIN32_DIR}/lib           ${CMAKE_INSTALL_PREFIX}/lib +      NO_SYSTEM_ENVIRONMENT_PATH      )      if(MSVC_IDE)        # the ide needs the debug and release version | 
