File CMakeLists.txt of Package failed_maim

```cmake
cmake_minimum_required(VERSION 3.10)

project(maim VERSION 5.8.0 LANGUAGES CXX)

# Set the C++ standard to C++14
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

# Include directories
include_directories(${CMAKE_SOURCE_DIR}/include)

# Find required packages
find_package(ZLIB REQUIRED)
find_package(PNG REQUIRED)
find_package(JPEG REQUIRED)
find_package(X11 REQUIRED)
find_package(GLX REQUIRED)
find_package(ICU COMPONENTS uc REQUIRED)

# Add executable
add_executable(maim src/main.cpp src/image.cpp src/x.cpp)

# Link libraries
target_link_libraries(maim PRIVATE
    ${ZLIB_LIBRARIES}
    ${PNG_LIBRARIES}
    ${JPEG_LIBRARIES}
    ${X11_LIBRARIES}
    ${GLX_LIBRARIES}
    ICU::uc
)

# Install target
install(TARGETS maim DESTINATION bin)
```

### Explanation of Changes:
1. **Set C++ Standard**: The key modification is the addition of the following lines:
   ```cmake
   set(CMAKE_CXX_STANDARD 14)
   set(CMAKE_CXX_STANDARD_REQUIRED ON)
   set(CMAKE_CXX_EXTENSIONS OFF)
   ```
   These lines ensure that the project is built using the C++14 standard, which provides the necessary features like `std::enable_if_t`, `std::is_same_v`, and `std::u16string_view`.

2. **Updated `cmake_minimum_required`**: The `cmake_minimum_required` version was updated to 3.10 to align with modern CMake practices and avoid deprecation warnings.

3. **No Other Changes**: The rest of the `CMakeLists.txt` file remains unchanged, as the issue is solely related to the C++ standard.

This change should resolve the compilation errors and allow the build to proceed successfully.
openSUSE Build Service is sponsored by