Sign in
fuchsia
/
third_party
/
github.com
/
Kitware
/
CMake
/
78c9c85eb6e249805384ee53fb0ebad126a1815d
/
.
/
Tests
/
RunCMake
/
CMP0115
/
RunCMakeTest.cmake
blob: 58182ac75a2606d6d9c81416fce88021732a7532 [
file
] [
log
] [
blame
]
include
(
RunCMake
)
function
(
run_cmp0115 status
)
if
(
NOT status STREQUAL
"WARN"
)
set
(
RunCMake_TEST_OPTIONS
-
DCMAKE_POLICY_DEFAULT_CMP0115
=
$
{
status
})
endif
()
run_cmake
(
CMP0115
-
$
{
status
})
endfunction
()
run_cmp0115
(
OLD
)
run_cmp0115
(
WARN
)
run_cmp0115
(
NEW
)