mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-28 18:41:57 -05:00
Check for presence of variable
This commit is contained in:
parent
b7b1eaf9f2
commit
279c0ad89b
@ -130,10 +130,10 @@ else()
|
||||
-Wno-unused-member-function
|
||||
-Wno-unused-variable
|
||||
>
|
||||
$<$<EQUAL:${CMAKE_CXX_STANDARD},20>:-Wzero-as-null-pointer-constant-> # Very noisy, minor, and just so
|
||||
# happens to trigger on googletest
|
||||
# for Ubuntu 20.04
|
||||
$<$<EQUAL:${CMAKE_CXX_STANDARD},20>:-Wsign-conversion->
|
||||
$<$<AND:$<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>>:
|
||||
|
Loading…
Reference in New Issue
Block a user