Only enable `no-register ` option if ccache is enabled because of ccache problem
This commit is contained in:
parent
2bbaa917f8
commit
9ae1125a85
|
@ -193,10 +193,10 @@ else()
|
|||
-Wno-undefined-var-template
|
||||
-Wno-unused-value
|
||||
-Wno-tautological-pointer-compare
|
||||
-Wno-register
|
||||
-Wno-format)
|
||||
if (USE_CCACHE)
|
||||
add_compile_options(
|
||||
-Wno-register
|
||||
-Wno-error=unused-command-line-argument)
|
||||
endif()
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue