mirror of
https://github.com/g-truc/glm.git
synced 2025-04-05 21:45:02 +00:00
Ignore 64 bits int warnings with Clang
This commit is contained in:
parent
22c88fd821
commit
bb48c10275
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue