cmake / move FetchContent spdlog to a single place

This commit is contained in:
Benjamin Sergeant
2020-09-26 13:55:03 -07:00
parent 2526a94454
commit 93167e3917
3 changed files with 7 additions and 16 deletions

View File

@ -2,18 +2,11 @@
# Author: Benjamin Sergeant
# Copyright (c) 2018 Machine Zone, Inc. All rights reserved.
#
cmake_minimum_required (VERSION 3.4.1)
cmake_minimum_required (VERSION 3.14)
project (ixwebsocket_unittest)
set (CMAKE_CXX_STANDARD 14)
include(FetchContent)
FetchContent_Declare(spdlog
GIT_REPOSITORY "https://github.com/gabime/spdlog"
GIT_TAG "v1.8.0")
FetchContent_MakeAvailable(spdlog)
option(USE_TLS "Add TLS support" ON)
include_directories(