Skip to content
Snippets Groups Projects
Commit f14d96c8 authored by AlQuemist's avatar AlQuemist
Browse files

<root>/CMakeLists.txt: report Qt details

parent f54b20ba
Branches a.fixQTDir
No related tags found
1 merge request!34Fix Qt CMake directory [Linux]
Pipeline #149641 passed
......@@ -58,6 +58,16 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")
### Dependences
find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets)
set(Qt_DIR "${QT6_INSTALL_PREFIX}")
set(Qt_VERSION "${Qt6Core_VERSION}")
set(Qt_INCLUDE_DIR "${QT6_INSTALL_PREFIX}/${QT6_INSTALL_HEADERS}")
set(Qt_LIBS_DIR "${QT6_INSTALL_PREFIX}/${QT6_INSTALL_LIBS}")
set(Qt_BIN_DIR "${QT6_INSTALL_PREFIX}/${QT6_INSTALL_BINS}")
message(STATUS " Qt ${Qt_VERSION} directory: '${Qt_DIR}'")
message(STATUS " Qt include directory: '${Qt_INCLUDE_DIR}'")
message(STATUS " Qt libraries directory: '${Qt_LIBS_DIR}'")
message(STATUS " Qt binaries directory: '${Qt_BIN_DIR}'")
### Installation settings
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment