Skip to content

Commit

Permalink
Fix warning about C++11 extensions on Clang
Browse files Browse the repository at this point in the history
  • Loading branch information
Mortal committed May 21, 2012
1 parent e1958ad commit 7a90dea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Expand Up @@ -13,6 +13,10 @@ if(NOT WIN32)
add_definitions("-Wall -Wextra")
endif(NOT WIN32)

if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
add_definitions("-Wno-c++11-extensions")
endif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")

if(WIN32)
add_definitions("-DWIN32_LEAN_AND_MEAN")
endif(WIN32)
Expand Down

0 comments on commit 7a90dea

Please sign in to comment.