fix cmake

This commit is contained in:
Bechir Braham
2024-03-20 17:38:01 +01:00
parent c1ddb84bc0
commit 72e3b58c09
2 changed files with 33 additions and 31 deletions

View File

@ -1,5 +1,8 @@
find_package(nlohmann_json 3.2.0 REQUIRED)
FetchContent_Declare(json
GIT_REPOSITORY https://github.com/nlohmann/json
GIT_TAG v3.11.3
)
FetchContent_MakeAvailable(json)
set(SourceFiles
${CMAKE_CURRENT_SOURCE_DIR}/src/File.cpp