Skip to content
Snippets Groups Projects
Commit f72c58b7 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

COMP: hide deprecated warnings on dashboard

parent e2d94954
No related branches found
No related tags found
No related merge requests found
......@@ -313,3 +313,16 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CXX_WARNING_FLAGS}")
#-----------------------------------------------------------------------------
#Check the set of platform flags the compiler supports
check_compiler_platform_flags()
# dashboard build
if(NOT "$ENV{DASHBOARD_TEST_FROM_CTEST}" STREQUAL "")
if(UNIX)
if(CMAKE_COMPILER_IS_GNUCXX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-cpp")
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-#warnings")
endif() #CMAKE_COMPILER_IS_GNUCXX
endif() #UNIX
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment