From 6720cb6b1131c507512cc9219905c54ce3de1f80 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Wed, 1 Mar 2006 18:45:57 +0000 Subject: -remove the manual definition of "MSVC", this is now done in cmake -remove the "_debug" postfix for debug libs Alex svn path=/trunk/KDE/kdelibs/; revision=514866 --- modules/FindKDE4.cmake | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/modules/FindKDE4.cmake b/modules/FindKDE4.cmake index 989cfc65..7af6485a 100644 --- a/modules/FindKDE4.cmake +++ b/modules/FindKDE4.cmake @@ -175,14 +175,6 @@ else(EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kglobal.h) endif(EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kglobal.h) -# this is already in cmake cvs and can be removed once we require it -if (WIN32) - GET_FILENAME_COMPONENT(_tmp_COMPILER_NAME ${CMAKE_CXX_COMPILER} NAME_WE) - if ( _tmp_COMPILER_NAME MATCHES cl ) - set(MSVC TRUE) - endif ( _tmp_COMPILER_NAME MATCHES cl ) -endif (WIN32) - ##################### and now the platform specific stuff ############################ @@ -291,7 +283,8 @@ if (CMAKE_COMPILER_IS_GNUCXX) set(CMAKE_C_FLAGS_DEBUG "-O0 -g") endif (CMAKE_COMPILER_IS_GNUCXX) -SET(CMAKE_DEBUG_POSTFIX "_debug") +# it seems we prefer not to use a different postfix for debug libs, Alex +# SET(CMAKE_DEBUG_POSTFIX "_debug") ########### end of platform specific stuff ########################## -- cgit v1.2.1