build: optionally static link boost (#2628)

This commit is contained in:
ReenigneArcher
2024-06-14 17:37:46 -04:00
committed by GitHub
parent 5f6fe3319c
commit ebc41acf98
30 changed files with 194 additions and 134 deletions
-3
View File
@@ -1,7 +1,4 @@
# windows specific dependencies
set(Boost_USE_STATIC_LIBS ON) # cmake-lint: disable=C0103
find_package(Boost 1.71.0 COMPONENTS locale log filesystem program_options REQUIRED)
# nlohmann_json
pkg_check_modules(NLOHMANN_JSON nlohmann_json REQUIRED IMPORTED_TARGET)