robotology / ycm-cmake-modules

YCM (YCM CMake modules) is a collection of various useful CMake modules.
http://robotology.github.io/ycm-cmake-modules
Other
52 stars 23 forks source link

Recent Xcode regression #363

Closed traversaro closed 3 years ago

traversaro commented 3 years ago

I suspect there was a regression due either to a CMake update or a Xcode update:

-- Generating done
CMake Error in 3rdparty/CMakeLists.txt:
  The custom command generating

    /Users/runner/work/robotology-superbuild/robotology-superbuild/build/robotology/YCM/3rdparty/cmrc/CMakeRC.cmake

  is attached to multiple targets:

    3rdparty-cmrc
    3rdparty-catch2

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

CMake Error in docs/CMakeLists.txt:
  The custom command generating

    /Users/runner/work/robotology-superbuild/robotology-superbuild/build/robotology/YCM/3rdparty/cmrc/CMakeRC.cmake

  is attached to multiple targets:

    3rdparty-cmrc
    3rdparty-catch2

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

Related robotology-superbuild issues:

drdanz commented 3 years ago

Fixed in #364