Commit a841f8d0 authored by Christian Schulte zu Berge's avatar Christian Schulte zu Berge
Browse files

Disabling GCC warning for using deprecated functions as we don't use this...

Disabling GCC warning for using deprecated functions as we don't use this feature of GCC and ITK runs mad with these warnings.
parent f765f3b4
......@@ -170,6 +170,9 @@ ELSEIF(UNIX)
LIST(APPEND CampvisGlobalDefinitions "-DUNIX")
LIST(APPEND CampvisGlobalDefinitions "-Wall -Wno-unused-local-typedefs -Wno-unused-variable -Wno-unknown-pragmas")
LIST(APPEND CampvisGlobalDefinitions "-D__STDC_CONSTANT_MACROS")
# dangerous!
LIST(APPEND CampvisGlobalDefinitions "-Wno-deprecated-declarations")
ELSE()
ENDIF(WIN32)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment