When installing with the latest CMake on MacOS the lyxeditor, inkscape
and maxima files, copied into the bundle, are not longer executable.
This is in particular a nuisance for the "reverse search" feature which
calls lyxeditor.
In the "install(FILES ...)" command (in development/cmake/install.cmake)
the PERMISSIONS should be mentioned explicitly. See enclosed patch.
Patrick
diff --git a/development/cmake/Install.cmake b/development/cmake/Install.cmake
index 08a6107aa6..434f1ac920 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(FILES "${TOP_SRC_DIR}/development/MacOSX/${_i}" DESTINATION
"${LYX_UTILITIES_INSTALL_PATH}" PERMISSIONS OWNER_EXECUTE OWNER_READ
OWNER_WRITE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
endforeach()
install(FILES "${TOP_SRC_DIR}/development/MacOSX/LyX.icns" DESTINATION
"${LYX_DATA_SUBDIR}")
set(program_suffix ${PROGRAM_SUFFIX})
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel