From 16802a7617351fa14bdf68d77f9ae7490a7719a7 Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Wed, 25 Mar 2020 17:50:58 +0100 Subject: [PATCH] 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 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 202e341745..3954c3b2e2 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) -- 2.39.2