From a9274eeb39e560515b3272a595e2c330de1f3bf2 Mon Sep 17 00:00:00 2001 From: Christopher McArthur Date: Mon, 20 Jan 2020 22:18:16 -0500 Subject: [PATCH] correcting cpp version --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index aa7f154..5e6831a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ option(BUILD_TESTS "Configure CMake to build tests (or not)" ON) project(jwt-cpp) -set(CMAKE_CXX_STANDARD 14) +set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD_REQUIRED ON) find_package(OpenSSL 1.1 REQUIRED) @@ -13,7 +13,7 @@ find_package(OpenSSL 1.1 REQUIRED) add_library(jwt-cpp INTERFACE) add_library(jwt-cpp::jwt-cpp ALIAS jwt-cpp) -target_compile_features(jwt-cpp INTERFACE cxx_std_14) +target_compile_features(jwt-cpp INTERFACE cxx_std_11) set(JWT_INCLUDE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/include) target_include_directories(