From 3ee5315890b980752bab20cb5e71b7fef201d55d Mon Sep 17 00:00:00 2001 From: Slawomir Grabowski Date: Wed, 24 Apr 2024 12:28:27 +0200 Subject: [PATCH] Adding missing include for CMake FetchContent_Declare command --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 108ef11..c17bf52 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,6 +19,7 @@ find_package(nlohmann_json) if(NOT nlohmann_json_FOUND) message(STATUS "nlohmann_json not found on system, fetching from GitHub") + include(FetchContent) FetchContent_Declare( nlohmann_json GIT_REPOSITORY https://github.com/nlohmann/json