Ignore 64 bits int warnings with Clang

This commit is contained in:
Christophe Riccio 2017-08-06 16:30:41 +02:00
parent 22c88fd821
commit bb48c10275

View File

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