CPack Deb confuses executables and shared libraries
When CPACK_DEBIAN_PACKAGE_GENERATE_SHLIBS
is enabled, it calls the file
command to determine whether a file is an executable or a shared library. However, file
prints "shared object" on PIE executables, so the check in CPackDeb.cmake
produces warnings that executables are missing a SONAME or SOVERSION.