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} COMMAND ${py_compile} ${_copied_py}
DEPENDS ${_copied_py} DEPENDS ${_copied_py}
) )
SET_SOURCE_FILES_PROPERTIES(${_copied_py} ${_created_py_} GENERATED) SET_SOURCE_FILES_PROPERTIES(${_copied_py} GENERATED)
install(FILES ${_compiled_py_} DESTINATION ${_project}) install(PROGRAMS ${_compiled_py_} ${_copied_py} DESTINATION ${_project})
LIST(APPEND _generated ${_compiled_py_}) LIST(APPEND _generated ${_compiled_py_})
endforeach(_orig_py) endforeach(_orig_py)