Sign in
fuchsia
/
third_party
/
cmake
/
5845c218d771b517aa4294f0a90267e6f3f64891
/
.
/
Tests
/
RunCMake
/
CMakeRoleGlobalProperty
/
FindDummyPackage.cmake
blob: 8299042f34f2eb938556c899aa3ddc3ebf6ad9c9 [
file
] [
log
] [
blame
]
cmake_minimum_required
(
VERSION
3.12
)
get_property
(
role GLOBAL PROPERTY CMAKE_ROLE
)
if
(
NOT role STREQUAL
"FIND_PACKAGE"
)
message
(
SEND_ERROR
"CMAKE_ROLE property is \"${role}\", should be \"FIND_PACKAGE\""
)
endif
()
set
(
DummyPackage_FOUND
1
)