src/CMakeLists.txt: added find_package for nlohmann_json

This commit is contained in:
Silvan 2024-11-03 09:49:52 +01:00
parent 73deedbd5e
commit 2118179958

View File

@ -2,6 +2,7 @@ find_package(ZLIB REQUIRED)
find_package(PkgConfig) find_package(PkgConfig)
set(THREADS_PREFER_PTHREAD_FLAG ON) set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED) find_package(Threads REQUIRED)
find_package(nlohmann_json 3.2.0 REQUIRED)
pkg_check_modules(RPM REQUIRED rpm) pkg_check_modules(RPM REQUIRED rpm)
pkg_check_modules(SQLITE3 REQUIRED sqlite3) pkg_check_modules(SQLITE3 REQUIRED sqlite3)
pkg_check_modules(LIBUNWIND REQUIRED libunwind) pkg_check_modules(LIBUNWIND REQUIRED libunwind)