Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,811
    • Issues 3,811
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

An update will be applied May 24th, between 12PM and 1PM EDT (UTC -400). The site may be slow during that time.

  • CMake
  • CMakeCMake
  • Issues
  • #19755

Closed
Open
Created Sep 25, 2019 by hewig@hewigovens

Ignoring CMAKE_OSX_SYSROOT because the directory does not exist.

After upgrading to Xcode 11, cmake 3.15.3 fails to set default CMAKE_OSX_SYSROOT value, here is the warning message:

CMake Warning at /usr/local/Cellar/cmake/3.15.3/share/cmake/Modules/Platform/Darwin-Initialize.cmake:131 (message):
  Ignoring CMAKE_OSX_SYSROOT value:

   /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk

  because the directory does not exist.
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.15.3/share/cmake/Modules/CMakeSystemSpecificInitialize.cmake:21 (include)
  CMakeLists.txt:7 (project)

There is no MacOSX10.14.sdk any more:

% ls /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
total 0
drwxr-xr-x  5 root  wheel   160B Sep 21 07:01 .
drwxr-xr-x  6 root  wheel   192B Sep 11 19:47 ..
drwxr-xr-x  4 root  wheel   128B Aug 30 14:47 DriverKit19.0.sdk
drwxr-xr-x  8 root  wheel   256B Aug 30 14:47 MacOSX.sdk
lrwxr-xr-x  1 root  wheel    10B Sep 21 06:18 MacOSX10.15.sdk -> MacOSX.sdk

Since MacOSX10.15.sdk is just a symbolic link to MacOSX.sdk, maybe we can set default to /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking