[LyX/master] Cmake build: Install executables as programms

Kornel Benko kornel at lyx.org
Wed Nov 27 13:52:21 UTC 2019


commit 58ed976dd374582206d20ffb84feffbb2f29ecb3
Author: Kornel Benko <kornel at lyx.org>
Date:   Wed Nov 27 15:05:44 2019 +0100

    Cmake build: Install executables as programms
    
    Patch from Patrick (pdvisschere at edpnet.be)
---
 development/cmake/Install.cmake |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/development/cmake/Install.cmake b/development/cmake/Install.cmake
index 08a6107..4e959a5 100755
--- a/development/cmake/Install.cmake
+++ b/development/cmake/Install.cmake
@@ -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})


More information about the lyx-cvs mailing list