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 8d73026 commit dbf9437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ macro(make_example EXAMPLE_NAME STANDARD)
if (${STANDARD} STREQUAL "20")
target_link_libraries(${EXAMPLE_NAME} PRIVATE examples_main)
endif()
if (${STANDARD} STREQUAL "20")
if (${EXAMPLE_NAME} STREQUAL "cpp20_json")
target_link_libraries(${EXAMPLE_NAME} PRIVATE Boost::json)
endif()
endmacro()
Expand Down

0 comments on commit dbf9437

Please sign in to comment.