mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 04:40:18 -05:00
a742088472
The minimum CMake version for Qt6 is 3.16, so all the calls to cmake_minimum_required() are updated here to enforce that minimum. This will avoid any CMake version-related warnings from Qt. Avoid hard-coding Qt5 where the tests could now be using Qt5 or Qt6. Fixes: #22188
11 lines
327 B
CMake
11 lines
327 B
CMake
cmake_minimum_required(VERSION 3.16)
|
|
project(Parallel)
|
|
include("../AutogenGuiTest.cmake")
|
|
|
|
# Test different values for AUTOGEN_PARALLEL
|
|
include("../Parallel/parallel.cmake")
|
|
|
|
add_executable(parallel ${PARALLEL_SRC})
|
|
set_target_properties(parallel PROPERTIES AUTOGEN_PARALLEL "")
|
|
target_link_libraries(parallel ${QT_LIBRARIES})
|