On Mon, Sep 01, 2025 at 09:21:49PM +0200, наб wrote:
> Unlike all the other Salvage Team packages,
> this package does /not/ get fixed by adding -DCMAKE_POLICY_VERSION_MINIMUM=3.5
> 
> -- >8 --
>...
> CMake Error at CMakeLists.txt:34 (cmake_policy):
>   Policy CMP0020 may not be set to OLD behavior because this version of CMake
>   no longer supports it.  The policy was introduced in CMake version 2.8.11,
>   and use of NEW behavior is now required.
> 
>   Please either update your CMakeLists.txt files to conform to the new
>   behavior or use an older version of CMake that still supports the old
>   behavior.  Run cmake --help-policy CMP0020 for more information.
>...

$ cmake --help-policy CMP0020
CMP0020
-------
Automatically link Qt executables to ``qtmain`` target on Windows.
...


Removing the CMP0020 block from CMakeLists.txt works for me.

cu
Adrian

Reply via email to