Commit 600ef6c9 authored by Laurent Montel's avatar Laurent Montel
Browse files

Use ${QT_MAJOR_VERSION}

parent 30290080
Pipeline #131826 passed with stage
in 2 minutes and 11 seconds
......@@ -3,7 +3,7 @@ remove_definitions(-DQT_NO_CAST_FROM_ASCII)
include(ECMAddTests)
include(GenerateExportHeader)
find_package(Qt5Test ${REQUIRED_QT_VERSION} CONFIG REQUIRED)
find_package(Qt${QT_MAJOR_VERSION}Test ${REQUIRED_QT_VERSION} CONFIG REQUIRED)
# Include src so we have access to config-kcrash.h
include_directories(${CMAKE_CURRENT_BINARY_DIR}/..)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment