Branch: refs/heads/master Home: https://github.com/OpenAMP/libmetal Commit: 3454d429f3dacd8b2c3592fcbb5d3def9814a38b https://github.com/OpenAMP/libmetal/commit/3454d429f3dacd8b2c3592fcbb5d3def9... Author: Torsten Rasmussen Torsten.Rasmussen@nordicsemi.no Date: 2020-07-08 (Wed, 08 Jul 2020)
Changed paths: M CMakeLists.txt
Log Message: ----------- cmake: set the policy CMP0077 to NEW
This commit introduces CMP0077 and set the policy to new behavior and thus removes the following warning when using newer CMake versions: ``` 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.` ```
Both OLD and NEW behavior will use the value defined earlier in the CMake process, however the OLD behavior will also add an entry to the CMakeCache.txt but ignore that value on sub-sequent invocations. As this may lead to confusion on users looking into the CMakeCache.txt, then the best is to not get such values into the cache, and thus use NEW behavior.
Signed-off-by: Torsten Rasmussen Torsten.Rasmussen@nordicsemi.no
openamp-rp@lists.openampproject.org