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
This commit is contained in:
Kornel Benko 2011-05-08 07:28:19 +00:00
parent 1493191f77
commit 2ff1181e52

View File

@ -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)