Also require Qt 5.15 in the main CMakeLists

This commit is contained in:
Olivier Goffart 2021-05-21 08:01:30 +02:00
parent 22c631baf9
commit 0df8161a6b

View file

@ -23,7 +23,7 @@ corrosion_import_crate(MANIFEST_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../Cargo.to
if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.19.0) if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.19.0)
# For the CMake build don't rely on qmake being in PATH but use CMake to locate Qt. This # For the CMake build don't rely on qmake being in PATH but use CMake to locate Qt. This
# means usually CMAKE_PREFIX_PATH is set. # means usually CMAKE_PREFIX_PATH is set.
find_package(Qt5 QUIET COMPONENTS Core Widgets) find_package(Qt5 5.15 QUIET COMPONENTS Core Widgets)
if (TARGET Qt5::qmake) if (TARGET Qt5::qmake)
set_property( set_property(
TARGET sixtyfps-cpp TARGET sixtyfps-cpp