cmake: Remove font size patch on macOS

This commit is contained in:
derrod 2024-04-06 01:17:28 +02:00 committed by Warchamp7
parent 503968671d
commit eea0e3d2cc

View file

@ -146,18 +146,6 @@ function(set_target_properties_obs target)
set_target_properties(${target} PROPERTIES XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS "${entitlements_file}")
add_custom_command(
TARGET ${target}
POST_BUILD
COMMAND
/usr/bin/sed -i '' 's/font-size: 10pt\;/font-size: 12pt\;/'
"$<TARGET_BUNDLE_CONTENT_DIR:${target}>/Resources/themes/Acri.qss"
"$<TARGET_BUNDLE_CONTENT_DIR:${target}>/Resources/themes/Grey.qss"
"$<TARGET_BUNDLE_CONTENT_DIR:${target}>/Resources/themes/Light.qss"
"$<TARGET_BUNDLE_CONTENT_DIR:${target}>/Resources/themes/Rachni.qss"
"$<TARGET_BUNDLE_CONTENT_DIR:${target}>/Resources/themes/Yami.qss"
COMMENT "Patch Qt stylesheets to use larger default font size on macOS")
add_custom_command(
TARGET ${target}
POST_BUILD