[LyX/2.3.x] Cmake build: Install executables as programms

Kornel Benko kornel at lyx.org
Wed Nov 27 13:56:29 UTC 2019


commit 87672a1d071ed4effdc4d71861a8316e6299e2d3
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)
    
    (cherry picked from commit 58ed976dd374582206d20ffb84feffbb2f29ecb3)
---
 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 5989344..d0a2eb4 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})


More information about the lyx-cvs mailing list