Skip to content

Commit adf7ecf

Browse files
committed
SQLiteC++ 3.x now requires C++11 compiler
1 parent 53c0077 commit adf7ecf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
# or copy at http://opensource.org/licenses/MIT)
77
cmake_minimum_required(VERSION 3.1) # for "CMAKE_CXX_STANDARD" version
88
project(SQLiteCpp_Example VERSION 2.0)
9+
10+
# SQLiteC++ 3.x now requires C++11 compiler
11+
set(CMAKE_CXX_STANDARD 11)
12+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
913

1014
# Add SQLite3 C++ wrapper around sqlite3 library (and sqlite3 itself provided for ease of use)
1115
# Here you can set CMake variables to avoid building Example, as well as cpplint, cppcheck...

0 commit comments

Comments
 (0)