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

Two days tyring to figure this out. #2601

Open
AnonymousRonin opened this issue Jun 16, 2024 · 2 comments
Open

Two days tyring to figure this out. #2601

AnonymousRonin opened this issue Jun 16, 2024 · 2 comments

Comments

@AnonymousRonin
Copy link

CMake Error at CMakeLists.txt:40 (FetchContent_Declare):
Unknown CMake command "FetchContent_Declare".

This must be absolutely vital to the whole build becuse the few lines are preventing the build. Quick question, why isn't this listed as dependancy? Where is it?

@MrSidims
Copy link
Contributor

FetchContent_Declare is a part of cmake 3.13, see https://cmake.org/cmake/help/v3.13/module/FetchContent.html

Our cmake file has cmake_minimum_required(VERSION 3.13.4). Have you changed this line to compile the project on the older version of cmake?

@AnonymousRonin
Copy link
Author

I'm not sure why, but when I downloaded llvm-project from the souce page rather that "git clone" is when the error occured. When I used git everything went fine.

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

2 participants