From c83fbc2cc6ddab507d5e36caf7975b2dafc777a4 Mon Sep 17 00:00:00 2001 From: HungMingWu Date: Tue, 19 Jun 2018 15:24:55 +0800 Subject: [PATCH] Update CMakeLists.txt --- ports/leveldb/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ports/leveldb/CMakeLists.txt b/ports/leveldb/CMakeLists.txt index af2a4d09a3..d19032582d 100644 --- a/ports/leveldb/CMakeLists.txt +++ b/ports/leveldb/CMakeLists.txt @@ -3,6 +3,9 @@ project(leveldb C CXX) option(INSTALL_HEADERS "Install header files" ON) +set(CMAKE_CXX_STANDARD 11) +set(CMAKE_CXX_STANDARD_REQUIRED ON) + IF (MSVC) add_definitions( -DWIN32