refactor: remove nlohmann::json dependency
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
3cc3da4dbe
commit
c3e7469313
5 changed files with 2 additions and 7 deletions
|
@ -31,7 +31,6 @@ class LightRecipe(ConanFile):
|
||||||
self.requires("stb/cci.20240531")
|
self.requires("stb/cci.20240531")
|
||||||
self.requires("volk/1.3.296.0")
|
self.requires("volk/1.3.296.0")
|
||||||
self.requires("yaml-cpp/0.8.0")
|
self.requires("yaml-cpp/0.8.0")
|
||||||
self.requires("nlohmann_json/3.12.0")
|
|
||||||
self.requires("lz4/1.10.0")
|
self.requires("lz4/1.10.0")
|
||||||
|
|
||||||
def layout(self):
|
def layout(self):
|
||||||
|
|
|
@ -6,7 +6,6 @@ add_library_module(asset_parser
|
||||||
|
|
||||||
target_link_libraries(
|
target_link_libraries(
|
||||||
asset_parser
|
asset_parser
|
||||||
PUBLIC LZ4::lz4_static
|
PRIVATE LZ4::lz4_static
|
||||||
PUBLIC nlohmann_json::nlohmann_json
|
PRIVATE logger
|
||||||
PUBLIC logger
|
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
#include <asset_parser/assets/text.hpp>
|
#include <asset_parser/assets/text.hpp>
|
||||||
#include <lz4.h>
|
#include <lz4.h>
|
||||||
#include <nlohmann/json.hpp>
|
|
||||||
|
|
||||||
namespace Assets {
|
namespace Assets {
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
#include <asset_parser/assets/texture.hpp>
|
#include <asset_parser/assets/texture.hpp>
|
||||||
#include <lz4.h>
|
#include <lz4.h>
|
||||||
#include <nlohmann/json.hpp>
|
|
||||||
|
|
||||||
namespace Assets {
|
namespace Assets {
|
||||||
|
|
||||||
|
|
|
@ -5,5 +5,4 @@ find_package(stb REQUIRED)
|
||||||
find_package(yaml-cpp REQUIRED)
|
find_package(yaml-cpp REQUIRED)
|
||||||
find_package(EnTT REQUIRED)
|
find_package(EnTT REQUIRED)
|
||||||
find_package(opengl_system REQUIRED)
|
find_package(opengl_system REQUIRED)
|
||||||
find_package(nlohmann_json REQUIRED)
|
|
||||||
find_package(lz4 REQUIRED)
|
find_package(lz4 REQUIRED)
|
||||||
|
|
Loading…
Add table
Reference in a new issue