Add missing option to CMakeFiles.txt

This commit is contained in:
pyos 2018-04-24 21:12:37 +03:00
parent df2d2e0b25
commit 2b1be27b1b

View File

@ -84,8 +84,8 @@ list (APPEND dbms_headers src/TableFunctions/ITableFunction.h src/TableFunctions
if (USE_EMBEDDED_COMPILER)
# LLVM 5.0 has a bunch of unused parameters in its header files.
# TODO: global-disable this warning
set_source_files_properties(src/Interpreters/ExpressionJIT.cpp PROPERTIES COMPILE_FLAGS "-Wno-unused-parameter")
# TODO: global-disable no-unused-parameter
set_source_files_properties(src/Interpreters/ExpressionJIT.cpp PROPERTIES COMPILE_FLAGS "-Wno-unused-parameter -Wno-non-virtual-dtor")
else ()
list (REMOVE dbms_sources src/Interpreters/ExpressionJIT.cpp)
list (REMOVE dbms_headers src/Interpreters/ExpressionJIT.h)