mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 13:48:42 -05:00
simple CMake fix to use Qt's latest CMake support
This commit is contained in:
parent
d03900d738
commit
4317f54b1a
@ -889,10 +889,7 @@ message (STATUS "hamlib_LIBRARY_DIRS: ${hamlib_LIBRARY_DIRS}")
|
|||||||
#
|
#
|
||||||
|
|
||||||
# Widgets finds its own dependencies.
|
# Widgets finds its own dependencies.
|
||||||
find_package (Qt5Widgets 5 REQUIRED)
|
find_package (Qt5 COMPONENTS Widgets Multimedia PrintSupport Sql REQUIRED)
|
||||||
find_package (Qt5Multimedia 5 REQUIRED)
|
|
||||||
find_package (Qt5PrintSupport 5 REQUIRED)
|
|
||||||
find_package (Qt5Sql 5 REQUIRED)
|
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
add_definitions (-DQT_NEEDS_QTMAIN)
|
add_definitions (-DQT_NEEDS_QTMAIN)
|
||||||
|
Loading…
Reference in New Issue
Block a user