2020-05-02 16:38:14 +08:00
|
|
|
# Copyright(c) 2019 spdlog authors Distributed under the MIT License (http://opensource.org/licenses/MIT)
|
2018-02-12 03:45:56 +08:00
|
|
|
|
2023-12-23 22:28:36 +08:00
|
|
|
cmake_minimum_required(VERSION 3.14)
|
2023-10-01 22:42:44 +08:00
|
|
|
project(spdlog_example CXX)
|
2018-02-12 03:45:56 +08:00
|
|
|
|
2024-12-02 00:22:06 +08:00
|
|
|
find_package(spdlog REQUIRED)
|
2018-02-12 03:45:56 +08:00
|
|
|
|
|
|
|
add_executable(example example.cpp)
|
2024-12-02 00:22:06 +08:00
|
|
|
target_link_libraries(example PRIVATE spdlog $<$<BOOL:${MINGW}>:ws2_32>)
|