mirror of https://github.com/procxx/kepka.git
Replace include_directireis for Qt5 private with target_link_libraries
This commit is contained in:
parent
4b1577258b
commit
ae62020482
|
@ -1,6 +1,5 @@
|
||||||
find_package(Qt5 COMPONENTS Core Gui Widgets Network REQUIRED)
|
find_package(Qt5 COMPONENTS Core Gui Widgets Network REQUIRED)
|
||||||
|
|
||||||
include_directories(${Qt5Gui_PRIVATE_INCLUDE_DIRS})
|
|
||||||
|
|
||||||
# defines
|
# defines
|
||||||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||||
|
@ -605,6 +604,7 @@ target_link_libraries(Telegram
|
||||||
Qt5::Core
|
Qt5::Core
|
||||||
Qt5::Widgets
|
Qt5::Widgets
|
||||||
Qt5::Network
|
Qt5::Network
|
||||||
|
Qt5::GuiPrivate
|
||||||
tgvoip
|
tgvoip
|
||||||
${LIBLZMA_LIBRARIES}
|
${LIBLZMA_LIBRARIES}
|
||||||
${ZLIB_LIBRARIES}
|
${ZLIB_LIBRARIES}
|
||||||
|
|
Loading…
Reference in New Issue