Skip to content

Commit

Permalink
✅ add regression test for #2281
Browse files Browse the repository at this point in the history
  • Loading branch information
nlohmann committed Jul 22, 2020
1 parent c4356c6 commit 2301bd1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 2301bd1

Please sign in to comment.