Fix linker errors. We need to build with -fPIC. --- 3rdparty_vendor/raqm/CMakeLists.txt.orig 2023-10-04 08:06:16 UTC +++ 3rdparty_vendor/raqm/CMakeLists.txt @@ -86,6 +86,7 @@ set_property(TARGET libraqm PROPERTY C_STANDARD 99) add_library(libraqm STATIC ${libraqm_SRC}) set_property(TARGET libraqm PROPERTY C_STANDARD 99) +set_property(TARGET libraqm PROPERTY POSITION_INDEPENDENT_CODE ON) target_include_directories(libraqm INTERFACE ${libraqm_src_SOURCE_DIR}/src) target_include_directories(libraqm PUBLIC ${CMAKE_CURRENT_BINARY_DIR})