From: Daniel Golle Subject: tests: install resource files to datadir, not libexecdir The .bmp / .hex / .txt / .dat / .wav files shipped alongside the test binaries are not executables; they are read-only data. Installing them under ${libexecdir}/installed-tests/SDL2/ is both inconsistent with the GNOME installed-tests convention (data lives under ${datadir}, only binaries under ${libexecdir}) and trips OpenWrt's package QA which expects every regular file in /usr/libexec/ to carry the executable bit. Move them to ${datadir}/installed-tests/SDL2/ alongside the matching ${exe}.test descriptors, and pin the permissions to 0644 so the umask of the build host cannot influence the installed mode. --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -531,6 +531,7 @@ if(SDL_INSTALL_TESTS) endif() install( FILES ${RESOURCE_FILES} - DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/installed-tests/SDL2 + PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ + DESTINATION ${CMAKE_INSTALL_DATADIR}/installed-tests/SDL2 ) endif()