CMake: Don't install fonts on Linux

On macOS, it's a bit trickier to not install them, as we're using the
MACOSX_PACKAGE_LOCATION file property to get them into the build
directory and install tree in the same way.
This commit is contained in:
Andrew Kaster 2024-09-23 11:51:26 -06:00 committed by Andrew Kaster
parent c04f3c7748
commit 87f6c6895d
Notes: github-actions[bot] 2024-09-23 22:40:47 +00:00

View file

@ -178,8 +178,6 @@ function(copy_resources_to_build base_directory bundle_target)
endfunction()
function(install_ladybird_resources destination component)
install(FILES ${EMOJI} DESTINATION "${destination}/emoji" COMPONENT ${component})
install(FILES ${FONTS} DESTINATION "${destination}/fonts" COMPONENT ${component})
install(FILES ${16x16_ICONS} DESTINATION "${destination}/icons/16x16" COMPONENT ${component})
install(FILES ${32x32_ICONS} DESTINATION "${destination}/icons/32x32" COMPONENT ${component})
install(FILES ${48x48_ICONS} DESTINATION "${destination}/icons/48x48" COMPONENT ${component})