瀏覽代碼

cmake: Remove font size patch on macOS

derrod 1 年之前
父節點
當前提交
eea0e3d2cc
共有 1 個文件被更改,包括 0 次插入12 次删除
  1. 0 12
      cmake/macos/helpers.cmake

+ 0 - 12
cmake/macos/helpers.cmake

@@ -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