aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-05-15 22:18:00 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-05-15 22:40:36 +0300
commit79c19c6a1c400b28f27ca6f44dd11e07ac43ec85 (patch)
treec934d0c0e2e2abd4fc85324a37d2e402d01a1200 /CMakeLists.txt
parentget rid of SafeInt (diff)
downloadwinapi-debug-79c19c6a1c400b28f27ca6f44dd11e07ac43ec85.tar.gz
winapi-debug-79c19c6a1c400b28f27ca6f44dd11e07ac43ec85.zip
switch from Boost.Nowide to winapi-utf8
Diffstat (limited to '')
-rw-r--r--CMakeLists.txt6
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)