aboutsummaryrefslogtreecommitdiff
path: root/external/easylogging++
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2021-09-15 08:28:24 +0200
committerselsta <selsta@sent.at>2021-09-16 10:44:25 +0200
commit4afd9a7a9e08d9e181f91086f2d9d7ae4eb8af0d (patch)
treed3fe526ebcee30d16179d26a48e585de8aa1a6f5 /external/easylogging++
parentMerge pull request #7899 (diff)
downloadmonero-4afd9a7a9e08d9e181f91086f2d9d7ae4eb8af0d.tar.xz
cmake: set required C/C++ standard to 11
Co-authored-by: Jason Rhinelander <jason@imaginary.ca>
Diffstat (limited to 'external/easylogging++')
-rw-r--r--external/easylogging++/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/external/easylogging++/CMakeLists.txt b/external/easylogging++/CMakeLists.txt
index 9aa4c08bc..462f774bf 100644
--- a/external/easylogging++/CMakeLists.txt
+++ b/external/easylogging++/CMakeLists.txt
@@ -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)