]> git.lyx.org Git - features.git/commitdiff
Cmake build: Amend 3df9525a, extend build info in Help>About
authorKornel Benko <kornel@lyx.org>
Wed, 25 Mar 2020 16:50:58 +0000 (17:50 +0100)
committerKornel Benko <kornel@lyx.org>
Wed, 25 Mar 2020 16:50:58 +0000 (17:50 +0100)
Add also the qt-version and paths of sysdir and the lyx executable
to the  build info

CMakeLists.txt

index 202e341745a1337e0f5a07a2099ba4f005049853..3954c3b2e27f899e1fa784ecdccd06adcb51976b 100644 (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)