diff options
author | Paulo Moura Guedes <moura@kdewebdev.org> | 2006-05-16 08:10:44 +0000 |
---|---|---|
committer | Paulo Moura Guedes <moura@kdewebdev.org> | 2006-05-16 08:10:44 +0000 |
commit | bb19c2a64367b530e5c6f55d07da5c7fc4149823 (patch) | |
tree | 106461e6ca5a772280eb6c1376b8b399e17a6c24 | |
parent | 85ad9ba5a38f14b3064d5832a8d6e90be3c79c4e (diff) | |
download | extra-cmake-modules-bb19c2a64367b530e5c6f55d07da5c7fc4149823.tar.gz extra-cmake-modules-bb19c2a64367b530e5c6f55d07da5c7fc4149823.tar.bz2 |
Better. Only msvc requires same build type (release/debug).
CCMAIL: Peter Kummel [syntheticpp@gmx.net]
svn path=/trunk/KDE/kdelibs/; revision=541416
-rw-r--r-- | modules/FindKDEWIN32.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/FindKDEWIN32.cmake b/modules/FindKDEWIN32.cmake index c3e76947..a71ba499 100644 --- a/modules/FindKDEWIN32.cmake +++ b/modules/FindKDEWIN32.cmake @@ -31,6 +31,13 @@ FIND_LIBRARY(KDEWIN32_LIBRARY NAMES kdewin32${_KDEWIN32_POSTFIX} ${_program_FILES_DIR}/kdewin32/lib ) +if (NOT KDEWIN32_LIBRARY AND NOT MSVC) + # We can mix release/debug builds + FIND_LIBRARY(KDEWIN32_LIBRARY NAMES kdewin32 kdewin32d + PATHS + ${_program_FILES_DIR}/kdewin32/lib + ) +endif (NOT KDEWIN32_LIBRARY AND NOT MSVC) # kdelibs/win/ has to be built before the rest of kdelibs/ # eventually it will be moved out from kdelibs/ |