From 2ff1181e52187c863a1f27fcd1eb151e5a2279a4 Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Sun, 8 May 2011 07:28:19 +0000 Subject: [PATCH] Make installed python scripts executable (as in autotools) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38627 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/cmake/PyCompile.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/development/cmake/PyCompile.cmake b/development/cmake/PyCompile.cmake index 0a77c22ff9..899c857a0c 100644 --- a/development/cmake/PyCompile.cmake +++ b/development/cmake/PyCompile.cmake @@ -36,8 +36,8 @@ foreach(_orig_py ${_py_files}) COMMAND ${py_compile} ${_copied_py} DEPENDS ${_copied_py} ) - SET_SOURCE_FILES_PROPERTIES(${_copied_py} ${_created_py_} GENERATED) - install(FILES ${_compiled_py_} DESTINATION ${_project}) + SET_SOURCE_FILES_PROPERTIES(${_copied_py} GENERATED) + install(PROGRAMS ${_compiled_py_} ${_copied_py} DESTINATION ${_project}) LIST(APPEND _generated ${_compiled_py_}) endforeach(_orig_py) -- 2.39.2