ADD: added json lib and made some changes in the entity class
This commit is contained in:
@@ -13,6 +13,11 @@ set(TEST_SIMCORE_LIBRARY OFF CACHE INTERNAL "")
|
||||
add_subdirectory(libs/SimCore EXCLUDE_FROM_ALL)
|
||||
ENDIF()
|
||||
|
||||
IF(NOT TARGET nlohmann_json)
|
||||
set(JSON_BuildTests_INIT OFF CACHE INTERNAL "")
|
||||
add_subdirectory(libs/nlohmannJSON EXCLUDE_FROM_ALL)
|
||||
ENDIF()
|
||||
|
||||
|
||||
|
||||
protobuf_generate_cpp(PROTO_PATH include/Orders/protos CPP_PATH include/Orders/protos HPP_PATH include/Orders/protos)
|
||||
@@ -73,6 +78,7 @@ target_link_libraries(EntityLibrary
|
||||
SimCore
|
||||
eigen
|
||||
loguru
|
||||
nlohmann_json
|
||||
)
|
||||
# add_dependencies(SimCore protoc)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user