Skip to content

Commit

Permalink
fix: explicitly link endstone plugins to fmt::fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-vincent committed Aug 30, 2024
1 parent eb0502b commit c19049e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/EndstoneHeaders.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function(endstone_add_plugin target_name)

add_library(${target_name} SHARED ${ARG_UNPARSED_ARGUMENTS})
target_include_directories(${target_name} PUBLIC include)
target_link_libraries(${target_name} PRIVATE endstone::headers)
target_link_libraries(${target_name} PRIVATE endstone::headers fmt::fmt)
set_target_properties(${target_name} PROPERTIES PREFIX "endstone_")

if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
Expand Down

0 comments on commit c19049e

Please sign in to comment.