aboutsummaryrefslogtreecommitdiff
path: root/external/easylogging++/CMakeLists.txt
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-09-23 22:22:42 -0500
committerluigi1111 <luigi1111w@gmail.com>2021-09-23 22:22:42 -0500
commit6b824c9ed0e5555d614da9cadbb5bb2dbcd6a724 (patch)
treecca01cae5612ee9770004b303f00fe42e7c99b12 /external/easylogging++/CMakeLists.txt
parentMerge pull request #7942 (diff)
parentcmake: set required C/C++ standard to 11 (diff)
downloadmonero-6b824c9ed0e5555d614da9cadbb5bb2dbcd6a724.tar.xz
Merge pull request #7945
4afd9a7 cmake: set required C/C++ standard to 11 (selsta)
Diffstat (limited to 'external/easylogging++/CMakeLists.txt')
-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)