commit 16802a7617351fa14bdf68d77f9ae7490a7719a7
Author: Kornel Benko <kor...@lyx.org>
Date:   Wed Mar 25 17:50:58 2020 +0100

    Cmake build: Amend 3df9525a, extend build info in Help>About
    
    Add also the qt-version and paths of sysdir and the lyx executable
    to the  build info
---
 CMakeLists.txt |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 202e341..3954c3b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1096,6 +1096,10 @@ set(VERSION_INFO "${VERSION_INFO}\\n  C++ Compiler user 
flags: ${CMAKE_CXX_FLAGS
 else()
 set(VERSION_INFO "${VERSION_INFO}\\n  C++ Compiler user flags: 
${CMAKE_CXX_FLAGS_RELEASE}")
 endif()
+set(VERSION_INFO "${VERSION_INFO}\\n  Qt version:              ${QTVERSION}")
+set(VERSION_INFO "${VERSION_INFO}\\n  LyX binary dir:          
${CMAKE_INSTALL_PREFIX}/${LYX_UTILITIES_INSTALL_PATH}")
+get_data_destination(dest_data)
+set(VERSION_INFO "${VERSION_INFO}\\n  LyX files dir:           
${CMAKE_INSTALL_PREFIX}/${dest_data}")
 
 
 configure_file(${LYX_CMAKE_DIR}/config.h.cmake ${TOP_BINARY_DIR}/config.h)
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to