Change to target_link_libraries in makefiles

This commit is contained in:
Jonas Kvinge 2018-05-12 20:30:16 +02:00
parent c003519bb8
commit 54c2ad13a9
3 changed files with 4 additions and 4 deletions

View File

@ -25,4 +25,4 @@ ADD_LIBRARY(qtsingleapplication STATIC
${SINGLEAPP-SOURCES-MOC}
)
QT5_USE_MODULES(qtsingleapplication Core Widgets Network)
target_link_libraries(qtsingleapplication Qt5::Core Qt5::Widgets Qt5::Network)

View File

@ -29,7 +29,7 @@ ADD_LIBRARY(qxt STATIC
)
if(WIN32)
QT5_USE_MODULES(qxt Core Widgets)
target_link_libraries(qxt Qt5::Core Qt5::Widgets)
else(WIN32)
QT5_USE_MODULES(qxt Core Widgets X11Extras)
target_link_libraries(qxt Qt5::Core Qt5::Widgets Qt5::X11Extras)
endif(WIN32)

View File

@ -38,4 +38,4 @@ target_link_libraries(libstrawberry-common
${CMAKE_THREAD_LIBS_INIT}
)
QT5_USE_MODULES(libstrawberry-common Core Network)
target_link_libraries(libstrawberry-common Qt5::Core Qt5::Network)