Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Enable -Wno-error=c++11-narrowing for clang builds
...until underlying issues are fixed
  • Loading branch information
nyalldawson committed Jan 14, 2015
1 parent cdbd885 commit 34b10e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -330,7 +330,7 @@ IF ("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU")
ENDIF()
ELSEIF ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
SET(USE_CXX_11 TRUE)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-error=c++11-narrowing")
ELSE()
SET(USE_CXX_11 FALSE)
ENDIF()
Expand Down

0 comments on commit 34b10e5

Please sign in to comment.