From 254471528b5a3bc3d853f25dbd2807bb3aa0ad40 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