Add json dependency
This commit is contained in:
parent
1c4c092967
commit
fa9216a110
@ -45,11 +45,21 @@ FetchContent_Declare(
|
||||
)
|
||||
FetchContent_MakeAvailable(glew)
|
||||
|
||||
FetchContent_Declare(
|
||||
json
|
||||
GIT_REPOSITORY https://github.com/nlohmann/json.git
|
||||
GIT_TAG master
|
||||
GIT_SHALLOW ON
|
||||
GIT_PROGRESS ON
|
||||
)
|
||||
FetchContent_MakeAvailable(json)
|
||||
|
||||
target_include_directories(${PROJECT_NAME} PRIVATE
|
||||
${imgui_SOURCE_DIR}
|
||||
${imgui_SOURCE_DIR}/backends
|
||||
${glfw_SOURCE_DIR}/include
|
||||
${glew_SOURCE_DIR}/include
|
||||
${json_SOURCE_DIR}/include
|
||||
)
|
||||
|
||||
target_sources(${PROJECT_NAME} PRIVATE
|
||||
|
Loading…
x
Reference in New Issue
Block a user