DEB: use alternative package names for nlohmann json (#15607)

This commit is contained in:
Ilya Lavrenov
2023-02-10 02:34:16 +04:00
committed by GitHub
parent 1b29914c07
commit 4fa5137af4
2 changed files with 6 additions and 7 deletions

View File

@@ -46,7 +46,7 @@ if(NOT TARGET nlohmann_json::nlohmann_json)
# for example, on debian 9 there is no cmake / pkgconfig files
find_file(nlohmann_include_file
NAMES "json.hpp"
"Path to json.hpp (nlohmann-json-dev )")
"Path to json.hpp (nlohmann-json-dev)")
if(nlohmann_include_file)
add_library(nlohmann_json::nlohmann_json INTERFACE IMPORTED)
get_filename_component(nlohmann_include_dir "${nlohmann_include_file}" PATH)