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

Building libsnark on MacOS #211

Open
algebravic opened this issue Nov 28, 2024 · 0 comments
Open

Building libsnark on MacOS #211

algebravic opened this issue Nov 28, 2024 · 0 comments

Comments

@algebravic
Copy link

I'm trying to build libsnark on Mac Os (15.1.1) on an M3 mac. I'm using cmake 3.31. Strangely enough, even though the CMakeLists.txt file starts with

cmake_minimum_required(VERSION 3.31)

project (libsnark)

I get the following error from cmake

CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

In addition it also complains that no cmake_minimum_required command is present. Are there any suggestions as to how to debug this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant