diff --git a/platform/linux/linux.cmake b/platform/linux/linux.cmake index 2bd26ae7bfe..9261b4ab8c1 100644 --- a/platform/linux/linux.cmake +++ b/platform/linux/linux.cmake @@ -5,6 +5,7 @@ find_package(JPEG REQUIRED) find_package(PNG REQUIRED) find_package(PkgConfig REQUIRED) find_package(X11 REQUIRED) +find_package(Threads REQUIRED) pkg_search_module(LIBUV libuv REQUIRED) @@ -112,6 +113,7 @@ target_link_libraries( ${JPEG_LIBRARIES} ${LIBUV_LIBRARIES} ${X11_LIBRARIES} + ${CMAKE_THREAD_LIBS_INIT} $<$>:ICU::i18n> $<$>:ICU::uc> $<$:mbgl-vendor-icu>