diff --git a/CMakeLists.txt b/CMakeLists.txt index ff9290e..4ffea1b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,9 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) # because of CMAKE_CXX_STANDARD project(jbus) +set(CMAKE_CXX_STANDARD 14) +set(CMAKE_CXX_STANDARD_REQUIRED ON) + if(WIN32) set(JBUS_PLAT_LIBS Ws2_32) elseif(UNIX AND NOT APPLE)