if(NOT CMAKE_VERSION VERSION_LESS 3.3.0)
    if(${CMAKE_VERSION} VERSION_LESS 3.27.0)
        cmake_minimum_required(VERSION 3.3)
    elseif(${CMAKE_VERSION} VERSION_LESS 3.31.0)
        cmake_minimum_required(VERSION 3.6)
    else()
        cmake_minimum_required(VERSION 3.10)
    endif()

    if(cxx_std_11 IN_LIST CMAKE_CXX_COMPILE_FEATURES)
        add_executable(CXX11 Main.cpp)
        target_link_libraries(CXX11 plog::plog)
        set_target_properties(CXX11 PROPERTIES FOLDER Samples CXX_STANDARD 11 CXX_STANDARD_REQUIRED ON)
    endif()
endif()
