overte/cmake/macros/TargetJson.cmake
Edgar 559d3712dd 🚧 WIP build with conan
Currently can only build the interface
2025-05-14 17:21:29 +02:00

15 lines
No EOL
487 B
CMake

#
# Created by Bradley Austin Davis on 2018/07/22
# Copyright 2013-2018 High Fidelity, Inc.
#
# Distributed under the Apache License, Version 2.0.
# See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
#
macro(TARGET_JSON)
# We use vcpkg for both json and glm, so we just re-use the target_glm macro here
# target_glm()
find_package(nlohmann_json REQUIRED)
target_link_libraries(${TARGET_NAME} nlohmann_json::nlohmann_json)
endmacro()