From: Kornel Benko Date: Wed, 27 Nov 2019 14:05:44 +0000 (+0100) Subject: Cmake build: Install executables as programms X-Git-Tag: 2.3.4~9 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=87672a1d071ed4effdc4d71861a8316e6299e2d3;p=features.git Cmake build: Install executables as programms Patch from Patrick (pdvisschere@edpnet.be) (cherry picked from commit 58ed976dd374582206d20ffb84feffbb2f29ecb3) --- diff --git a/development/cmake/Install.cmake b/development/cmake/Install.cmake index 59893449fe..d0a2eb4f39 100755 --- a/development/cmake/Install.cmake +++ b/development/cmake/Install.cmake @@ -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})