From a2481de926a45cefb7ce4f499ce50d00875118e7 Mon Sep 17 00:00:00 2001 From: zdenop Date: Sun, 17 Feb 2019 16:34:39 +0100 Subject: [PATCH] Revert "cmake workaround for #2246 for clang" This reverts commit 4d8bbe2c9782d457345411f3ceaa9fb8ea31bb55. --- CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0d5d7ac091..1f7a7f811d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -102,9 +102,6 @@ endif() if(CMAKE_CXX_COMPILER_ID MATCHES "Clang") set(CLANG 1) - # Force C++11 as workaround for #2246 - add_definitions(-D__cplusplus=201103L) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-macro-redefined") endif() if (WIN32)