mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 10:31:38 +08:00
f6e78c3d87
* duilib enable unicode define * duilib version modify git-tree * update duilib version files * update duilib control and version files * modify duilib cmake tab to space * duilib remove unnecessary space char * duilib update version file * Update versions/baseline.json Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * Update ports/duilib/CONTROL Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * Update versions/d-/duilib.json Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * fix duilib version file Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
16 lines
521 B
Diff
16 lines
521 B
Diff
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)
|
|
|