summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-04-06 16:39:59 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-04-06 16:39:59 +0200
commitfd16b3640527b9da8e1df97f5e25849e0313ac64 (patch)
treec1e6e0f363192d4420e4b72b2f54ef7bdec70aed /CMakeLists.txt
parentf3d48d7b4565345f5f06513bf7a6ecd59457e334 (diff)
downloadkcmldapcontroller-fd16b3640527b9da8e1df97f5e25849e0313ac64.tar.gz
kcmldapcontroller-fd16b3640527b9da8e1df97f5e25849e0313ac64.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.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4d99b0e..4fdee81 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -70,8 +70,8 @@ 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" )
set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" )