Commit 01b3d538 authored by Max Lyon's avatar Max Lyon

ignore deprecated register for clang

parent bb91506d
Pipeline #3779 passed with stage
in 6 minutes and 47 seconds
......@@ -372,9 +372,9 @@ if (WIN32)
)
endif ()
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
if (CMAKE_CXX_COMPILER_ID MATCHES "[cC][lL][aA][nN][gG]")
# disable unused parameter warning
add_definitions(-Wno-unused-parameter)
add_definitions(-Wno-unused-parameter -Wno-deprecated-register)
endif()
# collect all header,source and ui files
......
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