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
This commit is contained in:
Kornel Benko 2020-03-25 17:50:58 +01:00
parent 3df9525a13
commit 16802a7617

View File

@ -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)