cmake: fixed gcc warning

This commit is contained in:
Sergiu Deitsch 2018-03-19 00:21:33 +01:00
parent a97d6b0e1c
commit 43dafc5bf2

View File

@ -441,7 +441,7 @@ if (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
${GLOG_SRCS}