Remove redudant hacks for missed dependencies

https://github.com/telegramdesktop/tdesktop/commit/27f6c8ce62b28f318ba582a207f9930abc16576b and https://github.com/desktop-app/cmake_helpers/commit/3194d883d20584226ba8eb0f915bb6889d597a16 added missed pthread dependencies that allows to remove Threads::Threads dependency
This commit is contained in:
Ilya Fedin
2020-07-22 19:14:21 +04:00
committed by John Preston
parent 2b89700f66
commit e4bd89d33e
-10
View File
@@ -193,16 +193,6 @@ if (NOT HAVE_LONG_ATOMIC_WITHOUT_LIB)
target_link_libraries(Telegram PRIVATE atomic)
endif()
if (DESKTOP_APP_USE_PACKAGED)
set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
find_package(Threads REQUIRED)
target_link_libraries(Telegram
PRIVATE
Threads::Threads
)
endif()
target_precompile_headers(Telegram PRIVATE ${src_loc}/stdafx.h)
nice_target_sources(Telegram ${src_loc}
PRIVATE