cmake: set required C/C++ standard to 11

Co-authored-by: Jason Rhinelander <jason@imaginary.ca>
This commit is contained in:
selsta
2021-09-16 10:44:25 +02:00
co-authored by Jason Rhinelander
parent a39b1d56c8
commit 4afd9a7a9e
4 changed files with 27 additions and 13 deletions
+4 -1
View File
@@ -30,7 +30,10 @@ cmake_minimum_required(VERSION 3.5)
project(easylogging CXX)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
monero_enable_coverage()
find_package(Threads)