Change to target_link_libraries in makefiles
This commit is contained in:
parent
c003519bb8
commit
54c2ad13a9
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue