summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-02-25 05:13:37 +0100
committerPřemysl Eric Janouch <p@janouch.name>2024-02-25 05:15:00 +0100
commitfa460b97cf4212aece7a42bfbc57ce443885e498 (patch)
treeb662063e2f2c4fbe03357d5abe54160ef453ced6
parentef19337bad881d50884f8977c025a6124046841b (diff)
downloadnncmpp-fa460b97cf4212aece7a42bfbc57ce443885e498.tar.gz
nncmpp-fa460b97cf4212aece7a42bfbc57ce443885e498.tar.xz
nncmpp-fa460b97cf4212aece7a42bfbc57ce443885e498.zip
Fix info plugins installation
They could never become executable.
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d56a31c..9bbcf2c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -128,7 +128,8 @@ add_threads (${PROJECT_NAME})
install (TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR})
install (FILES LICENSE DESTINATION ${CMAKE_INSTALL_DOCDIR})
install (DIRECTORY contrib DESTINATION ${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME})
-install (DIRECTORY info DESTINATION ${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME})
+install (DIRECTORY info DESTINATION ${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}
+ USE_SOURCE_PERMISSIONS)
if (WITH_X11)
include (IconUtils)