--- libs/ymir-core/CMakeLists.txt.orig 2026-10-17 23:37:24 UTC +++ libs/ymir-core/CMakeLists.txt @@ -532,13 +532,11 @@ elseif (UNIX) # Linux and FreeBSD ) elseif (UNIX) # Linux and FreeBSD find_package(Iconv REQUIRED) + find_package(Threads REQUIRED) target_link_libraries(ymir-core PUBLIC Iconv::Iconv + Threads::Threads ) - if (CMAKE_SYSTEM_NAME MATCHES FreeBSD) - # Prevent third-party package libiconv from interfering with iconv from libc. - target_compile_definitions(ymir-core PUBLIC "LIBICONV_PLUG") - endif () endif () if (Vulkan_FOUND)