diff options
| author | Ralf Habacker <ralf.habacker@freenet.de> | 2007-12-14 07:57:57 +0000 | 
|---|---|---|
| committer | Ralf Habacker <ralf.habacker@freenet.de> | 2007-12-14 07:57:57 +0000 | 
| commit | bb7804e5974ab9437039e88ea9f3ad11e2d22f6c (patch) | |
| tree | d9abc83182e2de299f28f302ab28e038f0156940 /modules | |
| parent | bcbbac833b6b24de454fb18151c2115f5e284201 (diff) | |
| download | extra-cmake-modules-bb7804e5974ab9437039e88ea9f3ad11e2d22f6c.tar.gz extra-cmake-modules-bb7804e5974ab9437039e88ea9f3ad11e2d22f6c.tar.bz2 | |
minor win32 msvc fix
svn path=/trunk/KDE/kdelibs/; revision=748334
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/FindKDE4Internal.cmake | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index 3028f25e..26e82b61 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -799,13 +799,13 @@ endif (CMAKE_SYSTEM_NAME MATCHES BSD)  if (MSVC)     set (KDE4_ENABLE_EXCEPTIONS -EHsc)     # check if release mode -   if (CMAKE_BUILD_TYPE STREQUAL "Release" OR CMAKE_BUILD_TYPE STREQUAL "ReleaseWithDebInfo" OR CMAKE_BUILD_TYPE STREQUAL  "MinSizeRel") +   if (CMAKE_BUILD_TYPE STREQUAL "Release" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo" OR CMAKE_BUILD_TYPE STREQUAL  "MinSizeRel")      set (releaseMode 1) -   else (CMAKE_BUILD_TYPE STREQUAL "Release" OR CMAKE_BUILD_TYPE STREQUAL "ReleaseWithDebInfo" OR CMAKE_BUILD_TYPE STREQUAL  "MinSizeRel") +   else (CMAKE_BUILD_TYPE STREQUAL "Release" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo" OR CMAKE_BUILD_TYPE STREQUAL  "MinSizeRel")      set (releaseMode 0) -   endif (CMAKE_BUILD_TYPE STREQUAL "Release" OR CMAKE_BUILD_TYPE STREQUAL "ReleaseWithDebInfo" OR CMAKE_BUILD_TYPE STREQUAL  "MinSizeRel") +   endif (CMAKE_BUILD_TYPE STREQUAL "Release" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo" OR CMAKE_BUILD_TYPE STREQUAL  "MinSizeRel") -   # make sure that no header adds libcmt by default using #pragma comment(lib, "libcmt.lib") as done by mfc/afx.h +      # make sure that no header adds libcmt by default using #pragma comment(lib, "libcmt.lib") as done by mfc/afx.h     if (releaseMode)         set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /NODEFAULTLIB:libcmt /DEFAULTLIB:msvcrt")     else (releaseMode) | 
