cmake test RunCMake.CPack_DEB fails on GNU/Hurd due to a library file being executable
When running tests one test fails for GNU/Hurd since the generated file libtest_lib.so.0.8 is executable. Currently it is unknown why it is created executable. However, some library files are being created executable, e.g. /lib/x86_64-linux-gnu/libc-2.27.so is. So file(1) is doing the right thing, to say that this file is ELF 64-bit LSB pie executable instead of ELF 64-bit LSB shared object. The attached patch adds both cases to the test, fixing the build also for GNU/Hurd.[Modules_CPackDeb.cmake.diff](/uploads/84bcd19f3d90804489a6075f67331c43/Modules_CPackDeb.cmake.diff)
issue