Cmake build: Install executables as programms

Patch from Patrick (pdvisschere@edpnet.be)
This commit is contained in:
Kornel Benko 2019-11-27 15:05:44 +01:00
parent 88ff1686bc
commit 58ed976dd3

View File

@ -136,7 +136,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})