Sign in
fuchsia
/
third_party
/
github.com
/
Kitware
/
CMake
/
8ac7958e3a2d24258cc4ebf0d6c44eccfb8a849a
/
.
/
Tests
/
RunCMake
/
return
/
CMP0140-NEW.cmake
blob: eb6b85c57dc4e9d96b3b8068c53731701d97fea4 [
file
] [
log
] [
blame
]
cmake_policy
(
SET CMP0140 NEW
)
function
(
FUNC
)
set
(
VAR
"set"
)
return
(
PROPAGATE VAR
)
endfunction
()
set
(
VAR
"initial"
)
func
()
if
(
NOT DEFINED VAR OR NOT VAR STREQUAL
"set"
)
message
(
FATAL_ERROR
"return(PROPAGATE) not handled correctly."
)
endif
()