cmake: fixed gcc warning
This commit is contained in:
parent
a97d6b0e1c
commit
43dafc5bf2
@ -441,7 +441,7 @@ if (WIN32)
|
|||||||
)
|
)
|
||||||
endif (WIN32)
|
endif (WIN32)
|
||||||
|
|
||||||
add_compile_options ($<$<BOOL:${HAVE_NO_UNNAMED_TYPE_TEMPLATE_ARGS}>:-Wno-unnamed-type-template-args>)
|
add_compile_options ($<$<AND:$<BOOL:${HAVE_NO_UNNAMED_TYPE_TEMPLATE_ARGS}>,$<NOT:$<CXX_COMPILER_ID:GNU>>>:-Wno-unnamed-type-template-args>)
|
||||||
|
|
||||||
add_library (glog
|
add_library (glog
|
||||||
${GLOG_SRCS}
|
${GLOG_SRCS}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user