summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-10-22 04:14:01 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-10-22 04:15:35 +0200
commit5615796c0a10d5068dfb61ecbfbb9ab048ae63cd (patch)
treeb56f944df027ed4bbb0531a85e57986382cb79bd /CMakeLists.txt
parent45e95597267482ddb1023b33ebeeb50597d91508 (diff)
downloadknmap-5615796c0a10d5068dfb61ecbfbb9ab048ae63cd.tar.gz
knmap-5615796c0a10d5068dfb61ecbfbb9ab048ae63cd.zip
Fix incorrect use of TQString() inside i18n().
Added controlled conversions to char* instead of automatic ascii conversions. The definition of -UTQT_NO_ASCII_CAST is no longer needed. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a5a8cc5..2548c34 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -57,7 +57,7 @@ include( ConfigureChecks.cmake )
###### global compiler settings
-add_definitions( -DHAVE_CONFIG_H -UTQT_NO_ASCII_CAST )
+add_definitions( -DHAVE_CONFIG_H )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )