Cmake build: Install executables as programms

Patch from Patrick (pdvisschere@edpnet.be)

(cherry picked from commit 58ed976dd3)
This commit is contained in:
Kornel Benko 2019-11-27 15:05:44 +01:00
parent fa9e7bd9a0
commit 87672a1d07

View File

@ -129,7 +129,7 @@ if(APPLE)
endif()
foreach(_i lyxeditor maxima inkscape)
install(FILES "${TOP_SRC_DIR}/development/MacOSX/${_i}" DESTINATION "${LYX_UTILITIES_INSTALL_PATH}")
install(PROGRAMS "${TOP_SRC_DIR}/development/MacOSX/${_i}" DESTINATION "${LYX_UTILITIES_INSTALL_PATH}")
endforeach()
install(FILES "${TOP_SRC_DIR}/development/MacOSX/LyX.icns" DESTINATION "${LYX_DATA_SUBDIR}")
set(program_suffix ${PROGRAM_SUFFIX})