aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2025-11-05 11:09:25 +0800
committerLi Jin <dragon-fly@qq.com>2025-11-05 11:09:25 +0800
commit4e7cf4d863804303a931d6e16df7de6616337909 (patch)
treeb7ca7d521c5e350ccbd160c8d4ff55269e998903 /CMakeLists.txt
parent3a830bd4dd003dbf90270ca22f40b517b7b576df (diff)
downloadyuescript-4e7cf4d863804303a931d6e16df7de6616337909.tar.gz
yuescript-4e7cf4d863804303a931d6e16df7de6616337909.tar.bz2
yuescript-4e7cf4d863804303a931d6e16df7de6616337909.zip
Removed the use of codecvt from C++ for it being removed in C++26.
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 dd7c7e6..ebdee07 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -52,7 +52,7 @@ message(STATUS "Lua library: ${LUA_LIBRARIES}")
52 52
53enable_language(C CXX) 53enable_language(C CXX)
54include_directories(src src/3rdParty ${LUA_INCLUDE_DIR}) 54include_directories(src src/3rdParty ${LUA_INCLUDE_DIR})
55add_definitions(-std=c++17 -O3 -fPIC) 55add_definitions(-std=c++17 -O3 -fPIC -DYUE_UTF8_IMPL)
56 56
57# Detect Android Termux environment 57# Detect Android Termux environment
58# Termux typically has ANDROID_ROOT environment variable set and PREFIX points to Termux directory 58# Termux typically has ANDROID_ROOT environment variable set and PREFIX points to Termux directory