mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-04 18:10:45 +00:00
* Use nlohmann-json and range-v3 from packages.
* Use vendored fmtlib because fmt::fmt-header-only target can not be found.
* Replace EthCompilerSettings.cmake.patch with -DPEDANTIC=OFF option.
* Replace libsolutil-JSON.cpp.patch with -DSTRICT_NLOHMANN_JSON_VERSION=OFF option.
* jsoncpp was replaced with nlohmann-json in
87d86bfba6
14 lines
534 B
Diff
14 lines
534 B
Diff
range-v3 and nlohmann-json are headers only and not libraries
|
|
|
|
--- a/libsolutil/CMakeLists.txt
|
|
+++ b/libsolutil/CMakeLists.txt
|
|
@@ -43,7 +43,7 @@
|
|
)
|
|
|
|
add_library(solutil ${sources})
|
|
-target_link_libraries(solutil PUBLIC Boost::boost Boost::filesystem Boost::system range-v3 fmt::fmt-header-only nlohmann-json)
|
|
+target_link_libraries(solutil PUBLIC Boost::boost Boost::filesystem Boost::system fmt::fmt-header-only)
|
|
target_include_directories(solutil PUBLIC "${PROJECT_SOURCE_DIR}")
|
|
add_dependencies(solutil solidity_BuildInfo.h)
|
|
|