symlinks are not getting created properly with cmake 3.28

We are trying to create a deb package for different sources after running cmake; make ; and checkinstall and with 3.28 only the symlinks are not getting created. Where as with cmake 3.16 and 3.20, the symlinks are getting created properly. Is this known issue?

And with 3.28, checkinstall itself is failing with the below error, and the checkinstall succeeded after running make install first and then checkinstall. This is not expected as make install is not needed for checkinstall. And more importantly, even after this process, the created deb package does not have any symlinks with 3.28.

Looking forward for your reply.
Install the project…
– Install configuration: “Release”
– Installing: /usr/lib/libcares.a
CMake Error at cmake_install.cmake:46 (file):
file INSTALL cannot copy file
“/root/grpc/build/third_party/cares/cares/lib/x86_64-linux-gnu/libcares.a”
to “/usr/lib/libcares.a”: No such file or directory.

make: *** [Makefile:120: install] Error 1

**** Installation failed. Aborting package creation.

Cleaning up…OK

Bye.

The portion of contents of cmake_install.cmake:
if(CMAKE_INSTALL_COMPONENT STREQUAL “Unspecified” OR NOT CMAKE_INSTALL_COMPONENT)
file(INSTALL DESTINATION “${CMAKE_INSTALL_PREFIX}/lib” TYPE STATIC_LIBRARY FILES “/root/grpc/build/third_party/cares/cares/lib/x86_64-linux-gnu/libcares.a”)
endif()