From ae620204820861d7028c2283101c135cf1a7fe6c Mon Sep 17 00:00:00 2001 From: Stanislav Ershov Date: Mon, 27 Nov 2017 18:49:21 +0300 Subject: [PATCH] Replace include_directireis for Qt5 private with target_link_libraries --- Telegram/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt index a04e3d92f..80be8f640 100644 --- a/Telegram/CMakeLists.txt +++ b/Telegram/CMakeLists.txt @@ -1,6 +1,5 @@ find_package(Qt5 COMPONENTS Core Gui Widgets Network REQUIRED) -include_directories(${Qt5Gui_PRIVATE_INCLUDE_DIRS}) # defines if(CMAKE_SYSTEM_NAME STREQUAL "Linux") @@ -605,6 +604,7 @@ target_link_libraries(Telegram Qt5::Core Qt5::Widgets Qt5::Network + Qt5::GuiPrivate tgvoip ${LIBLZMA_LIBRARIES} ${ZLIB_LIBRARIES}