diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-15 22:18:00 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-15 22:40:36 +0300 |
commit | 79c19c6a1c400b28f27ca6f44dd11e07ac43ec85 (patch) | |
tree | c934d0c0e2e2abd4fc85324a37d2e402d01a1200 /CMakeLists.txt | |
parent | get rid of SafeInt (diff) | |
download | winapi-debug-79c19c6a1c400b28f27ca6f44dd11e07ac43ec85.tar.gz winapi-debug-79c19c6a1c400b28f27ca6f44dd11e07ac43ec85.zip |
switch from Boost.Nowide to winapi-utf8
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
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) |