mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-29 02:51:59 -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-member-function
|
||||||
-Wno-unused-variable
|
-Wno-unused-variable
|
||||||
>
|
>
|
||||||
$<$<EQUAL:${CMAKE_CXX_STANDARD},20>:-Wzero-as-null-pointer-constant-> # Very noisy, minor, and just so
|
$<$<AND:$<BOOL:${CMAKE_CXX_STANDARD}>,$<EQUAL:${CMAKE_CXX_STANDARD},20>>:
|
||||||
# happens to trigger on googletest
|
-Wzero-as-null-pointer-constant- # Very noisy, minor, and just so
|
||||||
# for Ubuntu 20.04
|
-Wsign-conversion- # happens to trigger on googletest
|
||||||
$<$<EQUAL:${CMAKE_CXX_STANDARD},20>:-Wsign-conversion->
|
>
|
||||||
>
|
>
|
||||||
$<$<CXX_COMPILER_ID:Clang>:
|
$<$<CXX_COMPILER_ID:Clang>:
|
||||||
$<$<AND:$<VERSION_GREATER:$<CXX_COMPILER_VERSION>,4.99>,$<VERSION_LESS:$<CXX_COMPILER_VERSION>,6>>:
|
$<$<AND:$<VERSION_GREATER:$<CXX_COMPILER_VERSION>,4.99>,$<VERSION_LESS:$<CXX_COMPILER_VERSION>,6>>:
|
||||||
|
Loading…
Reference in New Issue
Block a user