Skip to content

Commit

Permalink
Fixes the CMake file.
Browse files Browse the repository at this point in the history
  • Loading branch information
mzimbres committed Jan 1, 2024
1 parent 587c5fe commit 1160347
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ macro(make_example EXAMPLE_NAME STANDARD)
if (${STANDARD} STREQUAL "20")
target_link_libraries(${EXAMPLE_NAME} PRIVATE examples_main)
endif()
if (${STANDARD} STREQUAL "20")
target_link_libraries(${EXAMPLE_NAME} PRIVATE Boost::json)
if (${EXAMPLE_NAME} STREQUAL "cpp20_json")
target_link_libraries(${EXAMPLE_NAME} PRIVATE Boost::json Boost::container_hash)
endif()
endmacro()

Expand Down

0 comments on commit 1160347

Please sign in to comment.