fix build: Get rid of databento's internal nlohmann-json

** Migrate nlohmann-json over to vcpkg in the process **

Make it so databento is built with the same nlohmann-json lib that our
code is built with. Recently, I started getting undefined symbol errors
in databento code from nlohmann headers - presumably a conflict between
their nlohmann dep and ours.
This commit is contained in:
John Colvin committed 2025-04-28 17:12:58 +00:00
1 parent 3f288704bf
commit 8a6a652882
3 files changed
+7 -2

No files matched your search

+4
View File
@@ -65,6 +65,10 @@
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install/${presetName}",
"CMAKE_EXE_LINKER_FLAGS": "-Wno-undef",
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/vcpkg/scripts/buildsystems/vcpkg.cmake",
"DATABENTO_USE_EXTERNAL_JSON": {
"type": "BOOL",
"value": "ON"
},
"EXTERNALS_ROOT": "${sourceDir}/externals/linux",
"BUILD_SDK": {
"type": "BOOL",
+2 -1
View File
@@ -2,7 +2,8 @@
"dependencies": [
"fmt",
"catch2",
"openssl"
"openssl",
"nlohmann-json"
],
"builtin-baseline": "bb002e69deb36c00e9ce21810f69eff349a833f7",
"overrides": [