[ci skip] use a policy in the CMakeLists.txt for toml11 fix some more string_view errors

This commit is contained in:
Philip Top
2019-12-19 12:49:33 -08:00
committed by Philip Top
parent 26a066ad07
commit 99e483c447
3 changed files with 2 additions and 6 deletions

View File

@@ -1,9 +1,5 @@
cmake_minimum_required(VERSION 3.1)
enable_testing()
if("${CMAKE_VERSION}" VERSION_GREATER 3.1)
project(toml11 VERSION 3.2.0)
else()
project(toml11)
project(toml11 VERSION 3.7.0)