Skip to content

Commit

Permalink
print more Qt infos in CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave committed May 21, 2024
1 parent 73db1ad commit 140e5a9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ include(cmake/findDependencies.cmake)
include(cmake/compileroptions.cmake)
include(cmake/compilerDefinitions.cmake)
include(cmake/buildFiles.cmake)
include(cmake/printInfo.cmake)
if(BUILD_GUI)
include(cmake/qtCompat.cmake)
endif()
include(cmake/printInfo.cmake)


file(GLOB addons "addons/*.py")
Expand Down
7 changes: 7 additions & 0 deletions cmake/printInfo.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ if(BUILD_GUI)
message(STATUS "WITH_QCHART = ${WITH_QCHART}")
message(STATUS "USE_QT6 = ${USE_QT6}")
message(STATUS "QT_VERSION = ${QT_VERSION}")
if(USE_QT6)
message(STATUS "Qt6Core_LIBRARIES = ${Qt6Core_LIBRARIES}")
message(STATUS "Qt6Core_INCLUDE_DIRS = ${Qt6Core_INCLUDE_DIRS}")
else()
message(STATUS "Qt5Core_LIBRARIES = ${Qt5Core_LIBRARIES}")
message(STATUS "Qt5Core_INCLUDE_DIRS = ${Qt5Core_INCLUDE_DIRS}")
endif()
endif()
message(STATUS)
message(STATUS "HAVE_RULES = ${HAVE_RULES}")
Expand Down

0 comments on commit 140e5a9

Please sign in to comment.