Remove CMAKE_CXX_STANDARD commands in cmake scripts

This commit is contained in:
Maxime Gimeno 2021-02-08 10:06:23 +01:00
parent 8738d8de11
commit 7f189620d8
8 changed files with 0 additions and 23 deletions

View File

@ -3,9 +3,6 @@
cmake_minimum_required(VERSION 3.1...3.15)
project(Arrangement_on_surface_2_Demo)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
if(NOT POLICY CMP0070 AND POLICY CMP0053)
# Only set CMP0053 to OLD with CMake<3.10, otherwise there is a warning.
cmake_policy(SET CMP0053 OLD)

View File

@ -11,10 +11,6 @@ project(Minkowski_sum_2_Tests)
# return()
# endif()
# # Use C++11 for this directory and its sub-directories.
# set(CMAKE_CXX_STANDARD 11)
# set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
find_package(CGAL REQUIRED COMPONENTS Core)
include(${CGAL_USE_FILE})

View File

@ -16,10 +16,6 @@ if(has_cpp11 LESS 0)
return()
endif()
# Use C++11 for this directory and its sub-directories.
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
#Defines flags to emulate windows behavior for linking error generation
if(CMAKE_CXX_COMPILER_ID EQUAL Clang
OR CMAKE_COMPILER_IS_GNUCC

View File

@ -13,9 +13,6 @@ if(has_cpp11 LESS 0)
return()
endif()
# Use C++11 for this directory and its sub-directories.
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
find_package(CGAL REQUIRED)

View File

@ -20,9 +20,6 @@ if(has_cpp11 LESS 0)
return()
endif()
# Use C++11 for this directory and its sub-directories.
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
find_package(CGAL REQUIRED)

View File

@ -4,8 +4,6 @@
cmake_minimum_required(VERSION 3.1...3.15)
project(Shape_detection_Benchmarks)
set(CMAKE_CXX_STANDARD 11)
find_package(CGAL REQUIRED COMPONENTS Core)
include(${CGAL_USE_FILE})

View File

@ -4,8 +4,6 @@
cmake_minimum_required(VERSION 3.1...3.15)
project(Shape_detection_Examples)
set(CMAKE_CXX_STANDARD 11)
find_package(CGAL REQUIRED COMPONENTS Core)
include(${CGAL_USE_FILE})

View File

@ -4,8 +4,6 @@
cmake_minimum_required(VERSION 3.1...3.15)
project(Shape_detection_Tests)
set(CMAKE_CXX_STANDARD 11)
find_package(CGAL REQUIRED COMPONENTS Core)
include(${CGAL_USE_FILE})