CMake: Print the Qt version and path #5957 #5932

This commit is contained in:
Markus Goetz 2017-08-14 14:23:25 +02:00
parent 20a979173f
commit 1c3127e43b
1 changed files with 5 additions and 0 deletions

View File

@ -198,7 +198,12 @@ if (${Qt5Core_VERSION_MAJOR} EQUAL "5")
else()
message(STATUS "If possible compile me with Qt 5.6 or higher.")
endif()
if (${Qt5Core_VERSION_MINOR} EQUAL "9" OR ${Qt5Core_VERSION_MINOR} GREATER 9)
else()
message(STATUS "For HTTP2 use Qt 5.9.2 or higher.")
endif()
endif()
message("Qt ${Qt5Core_VERSION} at ${Qt5Core_INCLUDE_DIRS}")
if (APPLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")