summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-02-24 14:49:03 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-02-24 14:53:44 +0100
commit20a84daca2dfed6201373911a0c252f9d36c29c3 (patch)
treece4aee38bd95b0a2a536e92e2d3ba619cb20ceb1 /CMakeLists.txt
parent62481690071ce35abc780ba582a292b82b35b350 (diff)
downloadkbarcode-20a84daca2dfed6201373911a0c252f9d36c29c3.tar.gz
kbarcode-20a84daca2dfed6201373911a0c252f9d36c29c3.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>
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 78cc020..91dcc39 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -62,7 +62,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 "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )