Install CMake files below share/opm with USE_SOURCE_PERMISSIONS.

Otherwise the scripts will not be executable.
Fixes lintian warning
script-not-executable usr/share/opm/cmake/Scripts/cppcheck-test.sh

Gbp-Pq: Name 0007-Install-CMake-files-below-share-opm-with-USE_SOURCE_.patch
This commit is contained in:
Markus Blatt 2021-04-06 14:57:23 +02:00
parent 3e22403cfe
commit 6895ee4959

View File

@ -308,7 +308,7 @@ if(ENABLE_ECL_INPUT)
endif()
# Install build system files
install(DIRECTORY cmake DESTINATION share/opm)
install(DIRECTORY cmake DESTINATION share/opm USE_SOURCE_PERMISSIONS)
# Install tab completion skeleton
install(FILES etc/opm_bash_completion.sh.in DESTINATION share/opm/etc)