From 10ee730fd273592752d3e05cf8805f9d68efa5b4 Mon Sep 17 00:00:00 2001 From: fgodi Date: Mon, 4 Apr 2016 13:57:11 +0000 Subject: Strange : compile only without the workaround c++11, then removed git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/bottleneckDistance@1095 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: d1fd8df7a0aeccd69f029b8848c117cb3b567bd1 --- CMakeLists.txt | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ed0aedd..54165c59 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -82,16 +82,3 @@ else() endif() -include( ${CGAL_USE_FILE} ) -# In CMakeLists.txt, when include(${CGAL_USE_FILE}), CXX_FLAGS are overwritten. -# cf. http://doc.cgal.org/latest/Manual/installation.html#title40 -# A workaround is to add "-std=c++11" again. -if(NOT MSVC) -include(CheckCXXCompilerFlag) -CHECK_CXX_COMPILER_FLAG(-std=c++11 COMPILER_SUPPORTS_CXX11) -if(COMPILER_SUPPORTS_CXX11) -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") -endif() -endif() -# - End of workaround - -- cgit v1.2.3