mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 17:19:34 +08:00
CMakeLists.txt: use same policy as fmt
This commit is contained in:
@@ -3,6 +3,12 @@
|
||||
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
|
||||
if(${CMAKE_VERSION} VERSION_LESS 3.11)
|
||||
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
|
||||
else()
|
||||
cmake_policy(VERSION 3.11)
|
||||
endif()
|
||||
|
||||
ENABLE_LANGUAGE(C)
|
||||
|
||||
#---------------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user