summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-12-06 16:14:32 +0100
committerSlávek Banko <slavek.banko@axis.cz>2021-12-08 16:29:05 +0100
commit31b96d933fed651a7f779056cfa3f8dfc1a1cc0c (patch)
tree813881a882bae0e3f8f8dbe1b83c31d6dea0e251 /CMakeLists.txt
parenta4cbbd1ec376b94577b17f1d0f5d9cdb2aefdf73 (diff)
downloadtqscintilla-31b96d933fed651a7f779056cfa3f8dfc1a1cc0c.tar.gz
tqscintilla-31b96d933fed651a7f779056cfa3f8dfc1a1cc0c.zip
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> (cherry picked from commit 591c8f8d77f742dd99e59dab537dd9d5a62e88a6)
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 2dadb5d..09fbb04 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -65,7 +65,7 @@ include( ConfigureChecks.cmake )
###### global compiler settings
-add_definitions( -DHAVE_CONFIG_H -UQT_NO_ASCII_CAST )
+add_definitions( -DHAVE_CONFIG_H )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )