Skip to content

macOS build in 1.4.6 fails on Xcode new build system #607

Description

@billhollings

When attempting to build either 1.4.6.0 or 1.4.6.1 on macOS using cmake -G Xcode .. I get the following error:

CMake Error in external/spirv-tools/src/source/CMakeLists.txt:
  The custom command generating

    /Users/bill/Documents/Dev/iOSProjects/Khronos/CTS/VK-GL-CTS-1.4.6.1/build/external/spirv-tools/spirv-tools/build-version.inc

  is attached to multiple targets:

    SPIRV-Tools-shared
    SPIRV-Tools-static

  but none of these is a common dependency of the other(s).  This is not
  allowed by the Xcode "new build system".

The same error repeats also for:

CMake Error in external/glslang/src/CMakeLists.txt:
  ...
CMake Error in external/jsoncpp/CMakeLists.txt:
  ...
CMake Error in external/spirv-tools/src/CMakeLists.txt:
  ...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions