From 93c49322db073717e9a6029679d20100813e4d05 Mon Sep 17 00:00:00 2001 From: darkdragon-001 Date: Mon, 18 Sep 2023 12:58:19 +0200 Subject: [PATCH] Inherit cpp version number (#3211) --- cpp/CMakeLists.txt | 6 ------ tools/cpp/CMakeLists.txt | 5 ----- 2 files changed, 11 deletions(-) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index cdd7a0813..4e8b7cdd9 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -18,12 +18,6 @@ cmake_minimum_required (VERSION 3.11) 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_REQUIRED ON) -set(CMAKE_POSITION_INDEPENDENT_CODE TRUE) - if (32BIT) set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m32") set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32") diff --git a/tools/cpp/CMakeLists.txt b/tools/cpp/CMakeLists.txt index 91c905283..314d91cf6 100644 --- a/tools/cpp/CMakeLists.txt +++ b/tools/cpp/CMakeLists.txt @@ -16,11 +16,6 @@ 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_REQUIRED ON) - project (generate_geocoding_data) set (