File tree Expand file tree Collapse file tree 3 files changed +9
-39
lines changed Expand file tree Collapse file tree 3 files changed +9
-39
lines changed Original file line number Diff line number Diff line change @@ -72,8 +72,9 @@ if(CXX_BUILD_TESTS)
7272 set (INSTALL_GTEST OFF CACHE BOOL "" FORCE)
7373
7474 FetchContent_Declare(
75- googletest
76- URL https://github.com/google/googletest/archive/refs/tags/v1.15.2.tar.gz
75+ googletest
76+ URL https://github.com/google/googletest/archive/refs/tags/v1.17.0.tar.gz
77+ URL_HASH SHA256=65fab701d9829d38cb77c14acdc431d2108bfdbf8979e40eb8ae567edf10b27c
7778 )
7879
7980 FetchContent_MakeAvailable(googletest)
@@ -87,13 +88,15 @@ endif()
8788#
8889FetchContent_Declare(
8990 utfcpp
90- URL https://github.com/nemtrif/utfcpp/archive/refs/tags/v4.0.5 .tar.gz
91- PATCH_COMMAND patch -p1 < ${CMAKE_CURRENT_SOURCE_DIR} /patches/utfcpp.patch
91+ URL https://github.com/nemtrif/utfcpp/archive/refs/tags/v4.0.8 .tar.gz
92+ URL_HASH SHA256=f808b26d8c3a59def27fea207182ece77a8930bd121a69f80d328ecf3cfef925
9293)
9394
9495FetchContent_MakeAvailable(utfcpp)
9596FetchContent_GetProperties(utfcpp)
9697
98+ set (UTFCPP_INCLUDE_DIRS "${utfcpp_SOURCE_DIR} /source" )
99+
97100#
98101# nlohmann_json
99102#
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -102,8 +102,8 @@ if (EMSCRIPTEN)
102102 target_compile_options (cxx-parser PUBLIC -fno-exceptions)
103103endif ()
104104
105- target_link_libraries (cxx-parser
106- PUBLIC $<BUILD_INTERFACE:utf8cpp >
105+ target_include_directories (cxx-parser PUBLIC
106+ $<BUILD_INTERFACE:${UTFCPP_INCLUDE_DIRS} >
107107)
108108
109109if (CXX_ENABLE_FLATBUFFERS)
You can’t perform that action at this time.
0 commit comments