Files
termux-packages/packages/solidity/libsolutil-CMakeLists.txt.patch
termux-pacman-bot 2e6a665d14 bump(main/solidity): 0.8.26
* 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
2024-05-22 15:08:39 +00:00

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)