]>
Commit | Line | Data |
---|---|---|
570e0eb5 JB |
1 | --- libphonenumber-8.13.8/cpp/CMakeLists.txt.orig 2023-02-26 10:49:15.997683242 +0100 |
2 | +++ libphonenumber-8.13.8/cpp/CMakeLists.txt 2023-02-26 17:16:58.674991835 +0100 | |
3 | @@ -20,7 +20,7 @@ project (libphonenumber VERSION 8.13.0) | |
4ded0a69 | 4 | |
279323ce JB |
5 | # Pick the C++ standard to compile with. |
6 | # Abseil currently supports C++11, C++14, and C++17. | |
7 | -set(CMAKE_CXX_STANDARD 11 CACHE STRING "C++ standard used to compile this project") | |
8 | +set(CMAKE_CXX_STANDARD 17 CACHE STRING "C++ standard used to compile this project") | |
9 | set(CMAKE_CXX_STANDARD_REQUIRED ON) | |
570e0eb5 | 10 | set(CMAKE_POSITION_INDEPENDENT_CODE TRUE) |
4ded0a69 | 11 | |
570e0eb5 JB |
12 | @@ -106,7 +106,7 @@ if (USE_ALTERNATE_FORMATS) |
13 | endif () | |
279323ce | 14 | |
570e0eb5 JB |
15 | # Find all the required libraries and programs. |
16 | -find_package(absl) | |
279323ce | 17 | +find_package(absl REQUIRED COMPONENTS node_hash_set strings synchronization) |
570e0eb5 JB |
18 | |
19 | if(NOT absl_FOUND) | |
20 | # Overide abseil install rules for subprojects | |
279323ce JB |
21 | --- libphonenumber-8.12.57/tools/cpp/CMakeLists.txt.orig 2023-02-26 10:49:16.001016558 +0100 |
22 | +++ libphonenumber-8.12.57/tools/cpp/CMakeLists.txt 2023-02-26 17:39:18.954397584 +0100 | |
38501573 JB |
23 | @@ -18,7 +18,7 @@ cmake_minimum_required (VERSION 3.11) |
24 | ||
25 | # Pick the C++ standard to compile with. | |
26 | # Abseil currently supports C++11, C++14, and C++17. | |
27 | -set(CMAKE_CXX_STANDARD 11) | |
28 | +set(CMAKE_CXX_STANDARD 17) | |
29 | set(CMAKE_CXX_STANDARD_REQUIRED ON) | |
30 | ||
279323ce | 31 | project (generate_geocoding_data) |