From 79c19c6a1c400b28f27ca6f44dd11e07ac43ec85 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 15 May 2021 22:18:00 +0300 Subject: switch from Boost.Nowide to winapi-utf8 --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a08d9f..4fcad15 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,17 +27,17 @@ endif() include(cmake/common.cmake) find_package(Boost REQUIRED) -add_subdirectory(3rdparty/boost/nowide) +add_subdirectory(3rdparty/winapi/utf8) file(GLOB_RECURSE pdb_repo_include "include/*.hpp") file(GLOB_RECURSE pdb_repo_src "src/*.cpp") add_library(pdb_repo ${pdb_repo_include} ${pdb_repo_src}) target_compile_definitions(pdb_repo PUBLIC _NO_CVCONST_H) target_include_directories(pdb_repo PUBLIC include/) -target_include_directories(pdb_repo SYSTEM PUBLIC 3rdparty/microsoft/SafeInt) +target_link_libraries(pdb_repo PRIVATE winapi_utf8) target_link_libraries(pdb_repo PUBLIC Boost::boost - PRIVATE Boost::disable_autolinking Boost::nowide) + PRIVATE Boost::disable_autolinking) target_link_libraries(pdb_repo PRIVATE dbghelp) if(MINGW) -- cgit v1.2.3