Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3ee5315

Browse files
committedApr 24, 2024·
Adding missing include for CMake FetchContent_Declare command
1 parent 52d9a4c commit 3ee5315

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ find_package(nlohmann_json)
1919
if(NOT nlohmann_json_FOUND)
2020
message(STATUS "nlohmann_json not found on system, fetching from GitHub")
2121

22+
include(FetchContent)
2223
FetchContent_Declare(
2324
nlohmann_json
2425
GIT_REPOSITORY https://github.com/nlohmann/json

0 commit comments

Comments
 (0)
Please sign in to comment.