From bb48c1027561ab12c3bddd5467bc47d8242cef16 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sun, 6 Aug 2017 16:30:41 +0200 Subject: [PATCH] Ignore 64 bits int warnings with Clang --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f5c87550..484e8559 100644 --- a/CMakeLists.txt +++ b/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()