aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-04-13 13:10:15 +0200
committerMontel Laurent <[email protected]>2017-04-13 13:10:15 +0200
commit961f9985b80ed0b2d443c65c4262e7d48ac8cab3 (patch)
tree1c5f86081aaddf34bc8e7db052c4e4921929d402
parent9cce5cc5a26a80a53f7da37120c9cfe0b08b4704 (diff)
Activate by default QT_NO_NARROWING_CONVERSIONS_IN_CONNECT
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 371d6db..9e4025a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -49,6 +49,7 @@ set_package_properties(Sasl2 PROPERTIES
set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5IMAP")
add_definitions(-DTRANSLATION_DOMAIN=\"libkimap5\")
add_definitions("-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII")
+add_definitions( -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT )
configure_package_config_file(
"${CMAKE_CURRENT_SOURCE_DIR}/KF5IMAPConfig.cmake.in"