From c19049e566cc4a4919360841e39c3059a059bd64 Mon Sep 17 00:00:00 2001 From: Vincent Date: Fri, 30 Aug 2024 15:19:18 +0100 Subject: [PATCH] fix: explicitly link endstone plugins to fmt::fmt --- cmake/EndstoneHeaders.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/EndstoneHeaders.cmake b/cmake/EndstoneHeaders.cmake index 7a7243265..e3383fd5d 100644 --- a/cmake/EndstoneHeaders.cmake +++ b/cmake/EndstoneHeaders.cmake @@ -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")