Update CMake policy
Currently we have in CMakeList.txt : cmake_minimum_required(VERSION 3.20)
cmake_policy(SET CMP0026 OLD) cmake_policy(SET CMP0039 NEW) cmake_policy(SET CMP0042 OLD) cmake_policy(SET CMP0043 OLD) cmake_policy(SET CMP0045 OLD) cmake_policy(SET CMP0048 NEW) cmake_policy(SET CMP0057 NEW)
Which give warning at compilation time : `CMake Deprecation Warning at CMakeLists.txt:3 (cmake_policy): The OLD behavior for policy CMP0026 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
CMake Deprecation Warning at CMakeLists.txt:5 (cmake_policy): The OLD behavior for policy CMP0042 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
CMake Deprecation Warning at CMakeLists.txt:6 (cmake_policy): The OLD behavior for policy CMP0043 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
CMake Deprecation Warning at CMakeLists.txt:7 (cmake_policy): The OLD behavior for policy CMP0045 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
`