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

Adding missing include for CMake FetchContent_Declare command #165

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

grabusr
Copy link
Contributor

@grabusr grabusr commented Apr 24, 2024

In main CMakeLists.txt file if nlohmann_json library is not found in system then is fetched from github repository by using FetchContent_Declare command which should be included from FetchContent_Declare module. Without that include there is CMake error:

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

@TheAssassin TheAssassin merged commit 2544715 into linuxdeploy:master Apr 25, 2024
4 checks passed
@TheAssassin
Copy link
Member

Thank you!

@grabusr grabusr deleted the fetch-content-fix branch April 25, 2024 05:13
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

Successfully merging this pull request may close these issues.

2 participants