Sign in
chromium
/
external
/
github.com
/
Kitware
/
CMake
/
master
/
.
/
Tests
/
RunCMake
/
DiagnosticScope
/
IncludeWithScope.cmake
blob: 2de0db5478037934b667d2e1c84fc4e8762c0527 [
file
]
cmake_diagnostic
(
SET CMD_AUTHOR WARN
)
include
(
DiagnosticInclude
.
cmake
)
cmake_diagnostic
(
GET CMD_AUTHOR action
)
if
(
NOT
"${action}"
STREQUAL
"WARN"
)
message
(
SEND_ERROR
"include unexpectedly leaked diagnostic state"
)
endif
()