diff --git a/BeezleBot/CMakeLists.txt b/BeezleBot/CMakeLists.txt index 9d8a6c0..cab3da2 100644 --- a/BeezleBot/CMakeLists.txt +++ b/BeezleBot/CMakeLists.txt @@ -1,14 +1,18 @@ -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.6) project(BeezleBot LANGUAGES CXX) -find_package(Boost 1.60.0 COMPONENTS program_options REQUIRED) +find_package(Boost 1.55.0 COMPONENTS program_options REQUIRED) add_executable(${PROJECT_NAME} BeezleBot.cpp settings.cpp ) +set_target_properties(${PROJECT_NAME} + PROPERTIES CXX_STANDARD 14 +) + target_link_libraries(${PROJECT_NAME} PRIVATE Boost::program_options @@ -16,8 +20,3 @@ target_link_libraries(${PROJECT_NAME} DokuWiki ) -target_compile_features(${PROJECT_NAME} - PRIVATE - cxx_std_17 -) -