Skip to content

Commit

Permalink
CMake: Print the Qt version and path #5957 #5932
Browse files Browse the repository at this point in the history
  • Loading branch information
guruz committed Aug 14, 2017
1 parent 20a9791 commit 1c3127e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.")

This comment has been minimized.

Copy link
@ogoffart

ogoffart Aug 14, 2017

Contributor

Qt 5.9.0 should work

endif()
endif()
message("Qt ${Qt5Core_VERSION} at ${Qt5Core_INCLUDE_DIRS}")

if (APPLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
Expand Down

0 comments on commit 1c3127e

Please sign in to comment.