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

Unable to generate XCode project with CMake #79

Open
1 of 3 tasks
zfergus opened this issue Jul 6, 2022 · 1 comment
Open
1 of 3 tasks

Unable to generate XCode project with CMake #79

zfergus opened this issue Jul 6, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@zfergus
Copy link
Member

zfergus commented Jul 6, 2022

Describe the bug

CMake fails when targeting XCode using:

cmake .. -GXcode

The error is:

CMake Error in build/_deps/suitesparse-src/CMakeLists.txt:
  The custom command generating

    [path/to]/polyfem/build/_deps/suitesparse-build/FindMETIS.cmake

  is attached to multiple targets:

    cholmod_int
    cholmod_long

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

We might want to create an issue on the SuiteSparse CMake repo as well.

Using make works fine as an alternative, that is call CMake as

cmake ..

Platform

  • Windows
  • MacOs
  • Linux
@zfergus zfergus added the bug Something isn't working label Jul 6, 2022
@teseoch
Copy link
Member

teseoch commented Jul 6, 2022

Metis is part of the WMTK, which is now optional. In the new version of the WMTK it is not necessary anymore.

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

2 participants