Commit 51ed1e91 authored by Ralf Habacker's avatar Ralf Habacker
Browse files

cmake: remove annoying suggest-override warning

There is no way to disable this warning by an offical ECM cmake variable
parent d4df958d
......@@ -104,6 +104,10 @@ find_package(KF5 REQUIRED COMPONENTS
XmlGui
)
if(CMAKE_COMPILER_IS_GNUCXX)
string(REPLACE "-Wsuggest-override" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
endif()
if(BUILD_PHP_IMPORT)
find_package(KDevelop-PG-Qt)
find_package(KDevPlatform ${KDEV_MIN_VERSION} COMPONENTS ${KDEV_COMPONENTS})
......
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