Skip to content

Commit

Permalink
Revert "cmake workaround for #2246 for clang"
Browse files Browse the repository at this point in the history
This reverts commit 4d8bbe2.
  • Loading branch information
zdenop committed Feb 17, 2019
1 parent ddea230 commit a2481de
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a2481de

Please sign in to comment.