Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cmake build fails if using Xcode generator #11

Open
frenchdog opened this issue Jan 13, 2023 · 0 comments
Open

Cmake build fails if using Xcode generator #11

frenchdog opened this issue Jan 13, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@frenchdog
Copy link
Contributor

frenchdog commented Jan 13, 2023

(Reported by @dgovil)

The CMake build fails if using the Xcode generator. Using the Unix Makefiles generator works fine, but maybe it's worth calling out in the build instructions to use the Makefile generator?
The error is

CMake Error in cmake/bifusd/src/config/CMakeLists.txt:
  The custom command generating

    /Users/dhruvgovil/Projects/bifrost-usd/apple/build_scripts/build/bifrost_usd_build_maya2023/cmake/bifusd/src/config/bifusd/config/CfgCompilerMacros.cpp

  is attached to multiple targets:

    cg-CfgCompilerMacros.h-0acc790d41c
    hc-CfgCompilerMacros.h-0acc790d41c

  but none of these is a common dependency of the other(s).  This is not
  allowed by the Xcode "new build system".
@frenchdog frenchdog added the bug Something isn't working label Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant