mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 22:58:37 -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
3 lines
82 B
CMake
3 lines
82 B
CMake
add_library(a OBJECT classa.cpp)
|
|
target_link_libraries(a PRIVATE ${QT_LIBRARIES})
|