aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Kulow <coolo@kde.org>2006-11-09 06:47:50 +0000
committerStephan Kulow <coolo@kde.org>2006-11-09 06:47:50 +0000
commitaae517b4cf8747868e564ad545d41ec42e667be1 (patch)
tree3786a642c9025202bdcbed9010ab6e5b08fc5c1c
parentb586df5f5ec51c1444f043929a36fe5f9baf5336 (diff)
downloadextra-cmake-modules-aae517b4cf8747868e564ad545d41ec42e667be1.tar.gz
extra-cmake-modules-aae517b4cf8747868e564ad545d41ec42e667be1.tar.bz2
I choose to install it nowhere in program_files but right in KDE's install path
svn path=/trunk/KDE/kdelibs/; revision=603469
-rw-r--r--modules/FindKDEWIN32.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/FindKDEWIN32.cmake b/modules/FindKDEWIN32.cmake
index 7bd19d2f..afa8ee9b 100644
--- a/modules/FindKDEWIN32.cmake
+++ b/modules/FindKDEWIN32.cmake
@@ -20,7 +20,7 @@ if(NOT QT4_FOUND)
endif(NOT QT4_FOUND)
find_path(KDEWIN32_INCLUDE_DIR winposix_export.h
- ${_program_FILES_DIR}/kdewin32/include
+ ${_program_FILES_DIR}/kdewin32/include ${CMAKE_INSTALL_PREFIX}/include
)
@@ -30,14 +30,14 @@ find_path(KDEWIN32_INCLUDE_DIR winposix_export.h
set(KDEWIN32_LIBRARY_PATH ${_program_FILES_DIR}/kdewin32/lib)
find_library(KDEWIN32_LIBRARY_RELEASE NAMES kdewin32
PATHS
- ${KDEWIN32_LIBRARY_PATH}
+ ${KDEWIN32_LIBRARY_PATH} ${CMAKE_INSTALL_PREFIX}/lib
)
# msvc makes a difference between debug and release
if(MSVC)
find_library(KDEWIN32_LIBRARY_DEBUG NAMES kdewin32d
PATHS
- ${_program_FILES_DIR}/kdewin32/lib
+ ${_program_FILES_DIR}/kdewin32/lib ${CMAKE_INSTALL_PREFIX}/lib
)
if(MSVC_IDE)
# the ide needs the debug and release version