Browse Source

Ignore 64 bits int warnings with Clang

Christophe Riccio 8 years ago
parent
commit
bb48c10275
1 changed files with 3 additions and 0 deletions
  1. 3 0
      CMakeLists.txt

+ 3 - 0
CMakeLists.txt

@@ -70,6 +70,9 @@ if(("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") OR ("${CMAKE_CXX_COMPILER_ID}"
 		if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
 			add_definitions(-Wno-long-long)
 		endif()
+		if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
+			add_definitions(-Wno-c++11-long-long)
+		endif()
 	endif()
 endif()