DEB: use alternative package names for nlohmann json (#15607)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user