diff --git a/AK/CMakeLists.txt b/AK/CMakeLists.txt index 49298c3483e..48eedf2ad7f 100644 --- a/AK/CMakeLists.txt +++ b/AK/CMakeLists.txt @@ -61,6 +61,14 @@ find_package(simdutf REQUIRED) swizzle_target_properties_for_swift(simdutf::simdutf) target_link_libraries(AK PRIVATE simdutf::simdutf) +# FIXME: Make this generic for all imported shared library dependencies and apply globally +if (NOT CMAKE_SKIP_INSTALL_RULES AND NOT "${VCPKG_INSTALLED_DIR}" STREQUAL "") + install(IMPORTED_RUNTIME_ARTIFACTS simdutf::simdutf + LIBRARY COMPONENT Lagom_Runtime NAMELINK_COMPONENT Lagom_Development + FRAMEWORK COMPONENT Lagom_Runtime + ) +endif() + if (ENABLE_SWIFT) generate_clang_module_map(AK GENERATED_FILES