mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-06 12:23:08 +02:00
clang doesn't know -Wdouble-promotion
This commit is contained in:
parent
2ad25a2386
commit
2a841cc0b8
1 changed files with 2 additions and 2 deletions
|
@ -47,9 +47,9 @@ if (WIN32)
|
|||
# TODO: Remove when building 64-bit.
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /LARGEADDRESSAWARE")
|
||||
else ()
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wdouble-promotion -fno-strict-aliasing -Wno-unused-parameter")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -fno-strict-aliasing -Wno-unused-parameter")
|
||||
if (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ggdb")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ggdb -Wdouble-promotion")
|
||||
endif ()
|
||||
endif(WIN32)
|
||||
|
||||
|
|
Loading…
Reference in a new issue