--- libphonenumber-8.13.8/cpp/CMakeLists.txt.orig 2023-02-26 10:49:15.997683242 +0100 +++ libphonenumber-8.13.8/cpp/CMakeLists.txt 2023-02-26 17:16:58.674991835 +0100 @@ -20,7 +20,7 @@ project (libphonenumber VERSION 8.13.0) # Pick the C++ standard to compile with. # Abseil currently supports C++11, C++14, and C++17. -set(CMAKE_CXX_STANDARD 11 CACHE STRING "C++ standard used to compile this project") +set(CMAKE_CXX_STANDARD 17 CACHE STRING "C++ standard used to compile this project") set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_POSITION_INDEPENDENT_CODE TRUE) @@ -106,7 +106,7 @@ if (USE_ALTERNATE_FORMATS) endif () # Find all the required libraries and programs. -find_package(absl) +find_package(absl REQUIRED COMPONENTS node_hash_set strings synchronization) if(NOT absl_FOUND) # Overide abseil install rules for subprojects --- libphonenumber-8.12.57/tools/cpp/CMakeLists.txt.orig 2023-02-26 10:49:16.001016558 +0100 +++ libphonenumber-8.12.57/tools/cpp/CMakeLists.txt 2023-02-26 17:39:18.954397584 +0100 @@ -18,7 +18,7 @@ cmake_minimum_required (VERSION 3.11) # Pick the C++ standard to compile with. # Abseil currently supports C++11, C++14, and C++17. -set(CMAKE_CXX_STANDARD 11) +set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) project (generate_geocoding_data)