Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit df58ca3

Browse files
author
MazTheMan
committed
Fix 3rd party repos pulling this this source
1 parent e2e2f8d commit df58ca3

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

‎CMakeLists.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ if (skyr_ENABLE_JSON_FUNCTIONS)
7171
GIT_TAG v3.11.3
7272
OPTIONS "JSON_Install ON"
7373
)
74+
add_library(json INTERFACE)
75+
target_include_directories(json INTERFACE ${json_SOURCE_DIR}/include)
7476
endif()
7577

7678
if (skyr_USE_STATIC_CRT AND (SKY_CXX_COMPILER_CLANGCL OR SKY_CXX_COMPILER_MSVC))

‎src/v1/CMakeLists.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ if (skyr_ENABLE_JSON_FUNCTIONS)
177177
INTERFACE
178178
skyr-url-v1
179179
nlohmann_json::nlohmann_json
180+
$<BUILD_INTERFACE:json>
180181
)
181182

182183
target_include_directories(

‎src/v2/CMakeLists.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ if (skyr_ENABLE_JSON_FUNCTIONS)
6767
INTERFACE
6868
skyr-url-v2
6969
nlohmann_json::nlohmann_json
70+
$<BUILD_INTERFACE:json>
7071
)
7172

7273
target_include_directories(

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /