Herewith a small patch for the sign-install target on MacOS.
The hard-coded "LyX2.4.app" name is replaced by "LyX${LYX_VERSION}.app".
pdv
diff --git a/development/cmake/post_install/CMakeLists.txt
b/development/cmake/post_install/CMakeLists.txt
index 56c552e4d0..fd5d88ed94 100644
--- a/development/cmake/post_install/CMakeLists.txt
+++ b/development/cmake/post_install/CMakeLists.txt
@@ -69,7 +69,7 @@ if(LYX_BUNDLE)
if(APPLE)
# fixup_bundle invalidates the codesign, so the app must be signed
again.
add_custom_target(sign_install WORKING_DIRECTORY
${CMAKE_INSTALL_PREFIX}
- COMMAND /usr/bin/codesign --deep --force --sign
"${CPACK_BUNDLE_APPLE_CERT_APP}" "LyX2.4.app" VERBATIM)
+ COMMAND /usr/bin/codesign --deep --force --sign
"${CPACK_BUNDLE_APPLE_CERT_APP}" "LyX${LYX_VERSION}.app" VERBATIM)
endif()
if (APPLE AND LYX_DMG)
--
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel