From 6e130dd0d36dab1994ea88e19718d2f96bf00d24 Mon Sep 17 00:00:00 2001 From: Patrick von Reth Date: Fri, 28 Jan 2011 11:35:14 +0000 Subject: fixed mingw debug build svn path=/trunk/KDE/kdelibs/; revision=1217740 --- modules/FindKDE4Internal.cmake | 6 ------ 1 file changed, 6 deletions(-) (limited to 'modules') diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index 95c11717..d4e57806 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -1223,12 +1223,6 @@ if (CMAKE_COMPILER_IS_GNUCXX) if (MINGW) set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--export-all-symbols -Wl,--disable-auto-import") set (CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--export-all-symbols -Wl,--disable-auto-import") - - # we always link against the release version of QT with mingw - # (even for debug builds). So we need to define QT_NO_DEBUG - # or else QPluginLoader rejects plugins because it thinks - # they're built against the wrong QT. - add_definitions(-DQT_NO_DEBUG) endif (MINGW) check_cxx_compiler_flag(-fPIE HAVE_FPIE_SUPPORT) -- cgit v1.2.1