aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick von Reth <patrick.vonreth@gmail.com>2011-01-28 11:35:14 +0000
committerPatrick von Reth <patrick.vonreth@gmail.com>2011-01-28 11:35:14 +0000
commit6e130dd0d36dab1994ea88e19718d2f96bf00d24 (patch)
treefff6a317a556a9e66099a10ffa76929ce85f8056
parente053cccd1b7a14b32c3b27daa580f379cb31155c (diff)
downloadextra-cmake-modules-6e130dd0d36dab1994ea88e19718d2f96bf00d24.tar.gz
extra-cmake-modules-6e130dd0d36dab1994ea88e19718d2f96bf00d24.tar.bz2
fixed mingw debug build
svn path=/trunk/KDE/kdelibs/; revision=1217740
-rw-r--r--modules/FindKDE4Internal.cmake6
1 files changed, 0 insertions, 6 deletions
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)