This policy was introduced in CMake 3.10 and will annoy users until we set that CMake version as minimum. Probably we do not require this feature, yet. It is only set to old, to prevent accidential use of the new behavour. If the new behaviour becomes important, cmake_minimum_required has to be set to "3.10".
Details
Details
Run cmake .
Diff Detail
Diff Detail
- Repository
- R261 KMyMoney
- Branch
- arcpatch-D10162
- Lint
No Linters Available - Unit
No Unit Test Coverage
This comment was removed by christiand.
Comment Actions
I saw once, that the OLD behavior may cause other warnings. However, I cannot reproduce this. Since I am not able to push currently, I will observe this and push later (to branch 5.0).
Comment Actions
I found a new warning which is generated by this patch. However, I would leave it as it is, because there will be a warning or we may miss when a change to CMake 3.10 becomes mandatory.
CMake Warning (dev) in kmymoney/CMakeLists.txt: Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files. Run "cmake --help-policy CMP0071" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility, CMake is excluding the GENERATED source file(s): "⟨…⟩/Develop/build/kmymoney/kmymoney/qrc_kmymoney.cpp" from processing by AUTOMOC. If any of the files should be processed, set CMP0071 to NEW. If any of the files should not be processed, explicitly exclude them by setting the source file property SKIP_AUTOMOC: set_property(SOURCE file.h PROPERTY SKIP_AUTOMOC ON) This warning is for project developers. Use -Wno-dev to suppress it.