diff --git a/CMakeLists.txt b/CMakeLists.txt index 067594d..2ab714b 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,6 +28,9 @@ PROJECT(MYSQLCPPCONN) # Bump this every time we change the API/ABI SET(MYSQLCPPCONN_SOVERSION "6") +# Set C++ compiler version +set(CMAKE_CXX_STANDARD 14) + IF(WIN32) # We need this for mysqlcppconn_EXPORTS needed for the static build