Commit 114f44af authored by Max Lyon's avatar Max Lyon

disable unused parameter warning for clang

parent f4dde179
Pipeline #3768 passed with stage
in 5 minutes and 47 seconds
......@@ -372,6 +372,11 @@ if (WIN32)
)
endif ()
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
# disable unused parameter warning
add_definitions(-DWno-unused-parameter)
endif()
# collect all header,source and ui files
acg_append_files (headers "*.hh" ${directories})
acg_append_files (sources "*.cc" ${directories})
......
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