kinect/codes/Azure-Kinect-Sensor-SDK/extern/spdlog/CMakeLists.txt

8 lines
198 B
CMake
Raw Normal View History

2024-03-06 18:05:53 +00:00
if (NOT TARGET spdlog)
add_subdirectory(src EXCLUDE_FROM_ALL)
else()
message(STATUS "spdlog is already a target. Skipping adding it twice")
endif()
add_library(spdlog::spdlog ALIAS spdlog)