CMake Warning (dev) at build/_deps/cucumber_cpp-src/CMakeLists.txt:14 (option):
Policy CMP0077 is not set: option() honors normal variables. Run "cmake
--help-policy CMP0077" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
For compatibility with older versions of CMake, option is clearing the
normal variable 'CUKE_DISABLE_GTEST'.
This warning is for project developers. Use -Wno-dev to suppress it.
Possible solutions
Use set(... CACHE ...) or option(). Requires docstring duplication (in practice removal).
Use case
Prints the following warning:
Possible solutions
set(... CACHE ...)
oroption()
. Requires docstring duplication (in practice removal).CMAKE_VERSION
is 3.13 or above then set policy CMP0077: option() honors normal variables. This must be done incucumber-cpp/CMakeLists.txt
.