aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeOptions.txt
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2022-12-14 16:54:01 +0000
committerJoão Valverde <j@v6e.pt>2022-12-15 01:57:39 +0000
commit2d3de008f5af27abdae01c92956fa44464aa3f2f (patch)
tree22f502f0b990de2f8215ca5be80417594911ae24 /CMakeOptions.txt
parent400235ad7edeca2a89cdfece18a83400eaa0df49 (diff)
CMake: Disable UTF-8 debug checks for release builds
Disable UTF-8 debug checks for release builds for optimization purposes. Also remove unused macro that currently lacks a proper use case. Change version info to be more complete about the build type without being too verbose.
Diffstat (limited to 'CMakeOptions.txt')
-rw-r--r--CMakeOptions.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeOptions.txt b/CMakeOptions.txt
index eaa1347fa2..daa0356c95 100644
--- a/CMakeOptions.txt
+++ b/CMakeOptions.txt
@@ -54,7 +54,7 @@ option(BUILD_fuzzshark "Build fuzzshark" OFF)
option(ENABLE_WERROR "Treat warnings as errors" ON)
option(ENABLE_DEBUG "Enable debug code" ON)
option(ENABLE_ASSERT "Enable assertions" ON)
-option(ENABLE_DEBUG_MBS "Enable extra debug checks for detecting invalid multibyte (UTF-8) strings" ON)
+option(ENABLE_DEBUG_MBS "Enable extra debug checks for detecting invalid multibyte (UTF-8) strings" OFF)
option(ENABLE_DEBUG_A2W "Enable line directive from .cnf file" OFF)
option(ENABLE_CCACHE "Speed up compiling and linking using ccache if possible" OFF)