mirror of
https://github.com/nlohmann/json
synced 2025-01-05 23:21:06 +00:00
✅ add regression test for #2281
This commit is contained in:
parent
c4356c68e0
commit
2301bd1177
@ -15,7 +15,7 @@ add_library(Foo SHARED Foo.cpp Bar.cpp)
|
||||
target_include_directories(Foo PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${nlohmann_json_source}/include)
|
||||
set_target_properties(Foo PROPERTIES CXX_STANDARD 11)
|
||||
|
||||
add_library(Bar SHARED PRIVATE Bar.cpp)
|
||||
add_library(Bar SHARED Bar.cpp)
|
||||
target_link_libraries(Bar PRIVATE Foo)
|
||||
target_include_directories(Bar PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${nlohmann_json_source}/include)
|
||||
set_target_properties(Bar PROPERTIES CXX_STANDARD 11)
|
||||
|
Loading…
Reference in New Issue
Block a user