Skip to content

Commit 495cded

Browse files
committed
Remove embedded nlohmann_json library and find it from host system
1 parent f5e0b6e commit 495cded

File tree

962 files changed

+14
-146903
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

962 files changed

+14
-146903
lines changed

CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@ project(jsonlogic VERSION 0.1 LANGUAGES CXX)
33

44
set(CMAKE_CXX_STANDARD 17)
55

6-
include_directories(
7-
lib/json/single_include/nlohmann
8-
9-
src
10-
)
6+
include_directories(src)
117

128
add_library(
139
${PROJECT_NAME}
@@ -48,6 +44,10 @@ add_library(
4844
src/operations/string/substr.cpp
4945
)
5046

47+
find_package(nlohmann_json 3.11.1 REQUIRED)
48+
49+
target_link_libraries(${PROJECT_NAME} PRIVATE nlohmann_json::nlohmann_json)
50+
5151
target_include_directories(
5252
${PROJECT_NAME}
5353
PUBLIC

lib/json/.clang-format

Lines changed: 0 additions & 84 deletions
This file was deleted.

lib/json/.clang-tidy

Lines changed: 0 additions & 47 deletions
This file was deleted.

lib/json/.drone.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

lib/json/.github/CODEOWNERS

Lines changed: 0 additions & 6 deletions
This file was deleted.

lib/json/.github/CONTRIBUTING.md

Lines changed: 0 additions & 71 deletions
This file was deleted.

lib/json/.github/FUNDING.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

lib/json/.github/ISSUE_TEMPLATE/Bug_report.md

Lines changed: 0 additions & 57 deletions
This file was deleted.

lib/json/.github/ISSUE_TEMPLATE/config.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

lib/json/.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

lib/json/.github/SECURITY.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

lib/json/.github/config.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)