aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulo Moura Guedes <moura@kdewebdev.org>2006-05-15 15:21:32 +0000
committerPaulo Moura Guedes <moura@kdewebdev.org>2006-05-15 15:21:32 +0000
commit14f067d7391b81094423fd71eb0b57920036eccf (patch)
tree97d903b5fd60988c6a5960bad49c34db7d6c9fef
parentb5acfca94192e6e438221edd4c70eab4741f359e (diff)
downloadextra-cmake-modules-14f067d7391b81094423fd71eb0b57920036eccf.tar.gz
extra-cmake-modules-14f067d7391b81094423fd71eb0b57920036eccf.tar.bz2
This is valid not only for msvc.
CCMAIL: Peter Kummel [syntheticpp@gmx.net] svn path=/trunk/KDE/kdelibs/; revision=541109
-rw-r--r--modules/FindKDEWIN32.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/FindKDEWIN32.cmake b/modules/FindKDEWIN32.cmake
index 6bd8b9d3..c3e76947 100644
--- a/modules/FindKDEWIN32.cmake
+++ b/modules/FindKDEWIN32.cmake
@@ -20,11 +20,11 @@ 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)
-if (MSVC AND CMAKE_BUILD_TYPE MATCHES Debug)
+if (CMAKE_BUILD_TYPE MATCHES Debug)
set(_KDEWIN32_POSTFIX d)
-else (MSVC AND CMAKE_BUILD_TYPE MATCHES Debug)
+else (CMAKE_BUILD_TYPE MATCHES Debug)
set(_KDEWIN32_POSTFIX )
-endif (MSVC AND CMAKE_BUILD_TYPE MATCHES Debug)
+endif (CMAKE_BUILD_TYPE MATCHES Debug)
FIND_LIBRARY(KDEWIN32_LIBRARY NAMES kdewin32${_KDEWIN32_POSTFIX}
PATHS