mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-28 18:41:57 -05:00
Try short-circuit form
This commit is contained in:
parent
279c0ad89b
commit
502fa7625f
@ -130,11 +130,13 @@ else()
|
||||
-Wno-unused-member-function
|
||||
-Wno-unused-variable
|
||||
>
|
||||
$<$<AND:$<BOOL:${CMAKE_CXX_STANDARD}>,$<EQUAL:${CMAKE_CXX_STANDARD},20>>:
|
||||
$<$<BOOL:${CMAKE_CXX_STANDARD}>:
|
||||
$<$<EQUAL:${CMAKE_CXX_STANDARD},20>:
|
||||
-Wzero-as-null-pointer-constant- # Very noisy, minor, and just so
|
||||
-Wsign-conversion- # happens to trigger on googletest
|
||||
>
|
||||
>
|
||||
>
|
||||
$<$<CXX_COMPILER_ID:Clang>:
|
||||
$<$<AND:$<VERSION_GREATER:$<CXX_COMPILER_VERSION>,4.99>,$<VERSION_LESS:$<CXX_COMPILER_VERSION>,6>>:
|
||||
$<$<EQUAL:${GSL_CXX_STANDARD},17>:-Wno-undefined-func-template>
|
||||
|
Loading…
Reference in New Issue
Block a user