diff options
author | Alexander Neundorf <neundorf@kde.org> | 2006-03-01 18:45:57 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2006-03-01 18:45:57 +0000 |
commit | 6720cb6b1131c507512cc9219905c54ce3de1f80 (patch) | |
tree | ec940ddb334a2a970841362264aa183a4df02314 | |
parent | 47b7f56e42979af21aa5d17e6d9d71523438b64d (diff) | |
download | extra-cmake-modules-6720cb6b1131c507512cc9219905c54ce3de1f80.tar.gz extra-cmake-modules-6720cb6b1131c507512cc9219905c54ce3de1f80.tar.bz2 |
-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
-rw-r--r-- | modules/FindKDE4.cmake | 11 |
1 files 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 ########################## |