Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-29978

conan / macos sysroot not taken into account

    XMLWordPrintable

Details

    • macOS
    • f5fd5f1fd (12.0)

    Description

      the `auto-setup.cmake` doesn't take the `CMAKE_OSX_SYSROOT`. this causes e.g. the cityhash recipe to fail building.

      if i explicitly use `conan_provider.cmake`, the builds succeed

      -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=cmake/conan_provider.cmake
      -DQT_CREATOR_SKIP_CONAN_SETUP=True
      

      reason for this is that the sysroot needs to be set in order to resolve certain system libraries (otherwise a simple main.c fails to link with `ld: library 'System' not found`)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            cadam Cristian Adam
            timblechmann tim blechmann
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes