Ignore 64 bits int warnings with Clang

master
Christophe Riccio ago%!(EXTRA string=8 years)
parent 22c88fd821
commit bb48c10275
  1. 3
      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()

Loading…
Cancel
Save