temporarily silence warnigns in OGRE headers

actorid
Marc Zinnschlag 13 years ago
parent 8bbb02a1bd
commit f2075c7f4f

@ -257,6 +257,9 @@ endif (APPLE)
if (CMAKE_COMPILER_IS_GNUCC)
add_definitions (-Wall -Wextra -Wno-unused-parameter -Wno-reorder)
# Silence warnings in OGRE headers. Remove once OGRE got fixed!
add_definitions (-Wno-ignored-qualifiers)
execute_process(COMMAND ${CMAKE_C_COMPILER} -dumpversion
OUTPUT_VARIABLE GCC_VERSION)
if ("${GCC_VERSION}" VERSION_GREATER 4.6 OR "${GCC_VERSION}" VERSION_EQUAL 4.6)

Loading…
Cancel
Save