Commit 76cdeb62 authored by Raul Tambre's avatar Raul Tambre

Don't enable C language in CMake

spdlog doesn't seem to actually require the C language.
Not enabling it results in a significant initial configure time speedup.
parent ae9627c6
# Copyright(c) 2019 spdlog authors Distributed under the MIT License (http://opensource.org/licenses/MIT)
cmake_minimum_required(VERSION 3.13)
enable_language(C)
cmake_minimum_required(VERSION 3.10)
# ---------------------------------------------------------------------------------------
# Start spdlog project
......
# Copyright(c) 2019 spdlog authors Distributed under the MIT License (http://opensource.org/licenses/MIT)
cmake_minimum_required(VERSION 3.13)
cmake_minimum_required(VERSION 3.10)
project(spdlog_bench CXX)
if(NOT TARGET spdlog)
......
# Copyright(c) 2019 spdlog authors Distributed under the MIT License (http://opensource.org/licenses/MIT)
cmake_minimum_required(VERSION 3.13)
cmake_minimum_required(VERSION 3.10)
project(spdlog_examples CXX)
if(NOT TARGET spdlog)
......
cmake_minimum_required(VERSION 3.13)
cmake_minimum_required(VERSION 3.10)
project(spdlog_utests CXX)
if (NOT TARGET spdlog)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment