Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
CMake
CMake
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,183
    • Issues 3,183
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 15
    • Merge Requests 15
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • External Wiki
    • External Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • CMake
  • CMakeCMake
  • Issues
  • #19442

Closed
Open
Opened Jul 01, 2019 by Sander Stoks@sanderstoks

MACOSX_BUNDLE_INFO_PLIST regression?

The MACOSX_BUNDLE_INFO_PLIST override doesn't seem to work anymore in CMake 3.14. I noticed that after upgrading my local CMake from 3.9.1 to 3.14, the Mac app I wrote using Qt suddenly had awful font rendering. This is solved by adding NSPrincipalClass NSApplication to the info.plist file. (see also https://stackoverflow.com/questions/34465506/retina-support-in-qt5-on-os-x).

However, info.plist is generated from MacOSXBundleInfo.plist.in, which I had already added to my own source archive and pointed MACOSX_BUNDLE_INFO_PLIST to it. This no longer works. I verified this by renaming the MacOSXBundleInfo.plist.in in /Applications/CMake.app/Contents/share/cmake-3.14/Modules/, after which I got the error that it could no longer be found.

I was able to work around the issue by editing the template directly in the CMake install location (since I'm admin on my own machine), but this is obviously not ideal.

I'm not sure in which version between 3.9.1 and 3.14 this functionality broke.

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: cmake/cmake#19442