You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spdlog/example/CMakeLists.txt

16 lines
574 B
CMake

# Copyright(c) 2019 spdlog authors Distributed under the MIT License (http://opensource.org/licenses/MIT)
6 years ago
cmake_minimum_required(VERSION 3.2)
project(spdlog_examples CXX)
5 years ago
if (NOT TARGET spdlog)
5 years ago
# Stand-alone build
find_package(spdlog REQUIRED)
5 years ago
endif ()
# ---------------------------------------------------------------------------------------
# Example of using pre-compiled library
# ---------------------------------------------------------------------------------------
add_executable(example example.cpp)
target_link_libraries(example PRIVATE spdlog::spdlog)