From: Kornel Benko Date: Sun, 8 May 2011 07:28:19 +0000 (+0000) Subject: Make installed python scripts executable (as in autotools) X-Git-Tag: 2.1.0beta1~3322 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2ff1181e52187c863a1f27fcd1eb151e5a2279a4;p=features.git 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 --- 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)