Implemented spdlog library example (#150)

This commit is contained in:
Leonardo
2020-09-08 09:08:35 -03:00
committed by GitHub
parent f96cff720e
commit 5e0c3855c7
2 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
cmake_minimum_required(VERSION 3.14 FATAL_ERROR)
project(CPMSpdlogExample)
# ---- Dependencies ----
include(../../cmake/CPM.cmake)
CPMAddPackage(
NAME spdlog
GITHUB_REPOSITORY gabime/spdlog
VERSION 1.7.0
)
# ---- Executable ----
add_executable(CPMSpdlogExample "main.cpp")
set_target_properties(CPMSpdlogExample PROPERTIES CXX_STANDARD 17)
target_link_libraries(CPMSpdlogExample spdlog)