Skip to content
Snippets Groups Projects
Commit 20a8172d authored by Dominic Kempf's avatar Dominic Kempf
Browse files

[!814] [!812] [cmake][bugfix] Use install(PROGRAMS...) signature to install executable scripts

Merge branch 'cherry-pick-cc5ed571' into 'releases/2.7'

ref:core/dune-common\> Merge branch 'feature/install-scripts-executable' into
'master'

ref:core/dune-common\> CMake does not preserve file permissions when
installing files. In order to get executable scripts installed, the
install(PROGRAMS\...) signature needs to be used instead of
install(FILES\...).

See merge request [[!812]]

(cherry picked from commit cc5ed571)

ee4cef6d \[cmake\]\[bugfix\] Use install(PROGRAMS\...) signature to install
executable scripts

See merge request [!814]

  [!812]: gitlab.dune-project.org/core/dune-common/merge_requests/812
  [!814]: gitlab.dune-project.org/core/dune-common/merge_requests/814
parents 5e4163f1 e1c92f23
Branches
Tags
1 merge request!814[!812] [cmake][bugfix] Use install(PROGRAMS...) signature to install executable scripts
Pipeline #27059 passed
# Install non-executable scripts
install(FILES
conf.py.in
CreateDoxyFile.cmake
envdetect.py
extract_cmake_data.py
FinalizeHeadercheck.cmake
index.rst.in
InstallFile.cmake
main77.cc.in
module_library.cc.in
pyversion.py
run-in-dune-env.sh.in
RunDoxygen.cmake
sphinx_cmake_dune.py
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/dune/cmake/scripts)
# Install executable programs
install(PROGRAMS
extract_cmake_data.py
run-in-dune-env.sh.in
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/dune/cmake/scripts
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment