diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2018-11-16 14:39:40 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2018-11-16 14:51:05 +0000 |
commit | 86955eadae3047a68b79fa861fd926575680dd24 (patch) | |
tree | a9a606b7af7e6a4861dc2593874b6f131cf22e2f | |
parent | 0e31140ac006fe265b2577b10a59fa3dcc5ab84b (diff) |
CMake build: Check the Qt version
Change-Id: Ifa4eeb08de5e372112fc3200043cd23a6f299b2c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f5c5459..8a981fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ endif(JOM_ENABLE_TESTS) # where to look first for cmake modules set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules;${CMAKE_MODULE_PATH}") -find_package(Qt5Core) +find_package(Qt5Core 5.2.0 REQUIRED) include_directories( ${CMAKE_BINARY_DIR} |