early-access version 2853
This commit is contained in:
15
externals/vcpkg/ports/duilib/enable-unicode-for-vcpkg.patch
vendored
Executable file
15
externals/vcpkg/ports/duilib/enable-unicode-for-vcpkg.patch
vendored
Executable file
@@ -0,0 +1,15 @@
|
||||
diff --git a/DuiLib/CMakeLists.txt b/DuiLib/CMakeLists.txt
|
||||
index 835d430..b178984 100644
|
||||
--- a/DuiLib/CMakeLists.txt
|
||||
+++ b/DuiLib/CMakeLists.txt
|
||||
@@ -2,6 +2,9 @@
|
||||
#Author Qi Gao(monkgau@gmail.com)
|
||||
#Created: 2012/09/16
|
||||
|
||||
+#if use vcpkg to build, need to add extra unicode definitions
|
||||
+add_definitions(-DUNICODE -D_UNICODE)
|
||||
+
|
||||
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR} Root_src)
|
||||
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/Control Control_src)
|
||||
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/Core Core_src)
|
||||
|
||||
Reference in New Issue
Block a user