Skip to content

Commit 0445e74

Browse files
committed
Fixes the CMake file.
1 parent 234f961 commit 0445e74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ macro(make_example EXAMPLE_NAME STANDARD)
1010
if (${STANDARD} STREQUAL "20")
1111
target_link_libraries(${EXAMPLE_NAME} PRIVATE examples_main)
1212
endif()
13-
if (${STANDARD} STREQUAL "20")
14-
target_link_libraries(${EXAMPLE_NAME} PRIVATE Boost::json)
13+
if (${EXAMPLE_NAME} STREQUAL "cpp20_json")
14+
target_link_libraries(${EXAMPLE_NAME} PRIVATE Boost::json Boost::container_hash)
1515
endif()
1616
endmacro()
1717

0 commit comments

Comments
 (0)