CMake: remove unused link libraries

- Nothing ever sets LIBRARY_QT5_MODULES (it would be a macro
  argument to calamares_add_library, if anything).
This commit is contained in:
Adriaan de Groot 2020-06-10 01:25:36 +02:00
parent dc16afac4a
commit e6fe19df20

View File

@ -97,7 +97,6 @@ function(calamares_add_library)
Qt5::Core Qt5::Core
Qt5::Gui Qt5::Gui
Qt5::Widgets Qt5::Widgets
${LIBRARY_QT5_MODULES}
) )
if(LIBRARY_LINK_LIBRARIES) if(LIBRARY_LINK_LIBRARIES)
target_link_libraries(${target} LINK_PUBLIC ${LIBRARY_LINK_LIBRARIES}) target_link_libraries(${target} LINK_PUBLIC ${LIBRARY_LINK_LIBRARIES})