aboutsummaryrefslogtreecommitdiff
path: root/modules/FindKDEWIN32.cmake
diff options
context:
space:
mode:
authorSebastian Sauer <mail@dipe.org>2006-10-21 00:55:03 +0000
committerSebastian Sauer <mail@dipe.org>2006-10-21 00:55:03 +0000
commit5ee682a9f2a5fd346ef8ec7f3bb7292103ecb843 (patch)
treebf02dda829b6ca44c20b28573c6410291faa7ac0 /modules/FindKDEWIN32.cmake
parent93228fbd4ad1712926c690564b39bc7cb9aa2b81 (diff)
downloadextra-cmake-modules-5ee682a9f2a5fd346ef8ec7f3bb7292103ecb843.tar.gz
extra-cmake-modules-5ee682a9f2a5fd346ef8ec7f3bb7292103ecb843.tar.bz2
* added ${KDEWIN32_LIBRARY_PATH}
* use find_library Now linking fails cause of the on win32 missing dbus libs... svn path=/trunk/KDE/kdelibs/; revision=597618
Diffstat (limited to 'modules/FindKDEWIN32.cmake')
-rw-r--r--modules/FindKDEWIN32.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/FindKDEWIN32.cmake b/modules/FindKDEWIN32.cmake
index d5a5eee6..479df392 100644
--- a/modules/FindKDEWIN32.cmake
+++ b/modules/FindKDEWIN32.cmake
@@ -27,9 +27,10 @@ find_path(KDEWIN32_INCLUDE_DIR winposix_export.h
# at first find the kdewin32 library, this has to be compiled and installed before kdelibs/
# search for kdewin32 in the default install directory for applications (default of (n)make install)
+set(KDEWIN32_LIBRARY_PATH ${_program_FILES_DIR}/kdewin32/lib)
find_library(KDEWIN32_LIBRARY_RELEASE NAMES kdewin32
PATHS
- ${_program_FILES_DIR}/kdewin32/lib
+ ${KDEWIN32_LIBRARY_PATH}
)
# msvc makes a difference between debug and release