mirror of https://github.com/procxx/kepka.git
Link in threading libraries if necessary
This commit is contained in:
parent
e4358bef35
commit
b25df92d35
|
@ -51,6 +51,9 @@ else(LINUX)
|
|||
set(OPENAL_LIBRARY OpenAL::OpenAL)
|
||||
endif(LINUX)
|
||||
|
||||
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
||||
find_package(Threads)
|
||||
|
||||
find_package(ZLIB REQUIRED)
|
||||
find_package(FFmpeg REQUIRED)
|
||||
find_package(Opus REQUIRED)
|
||||
|
|
|
@ -696,6 +696,8 @@ if (LINUX)
|
|||
target_link_libraries(Telegram Qt5::DBus dl ${ALSA_LIBRARIES} ${PULSEAUDIO_LIBRARIES})
|
||||
endif()
|
||||
|
||||
target_link_libraries(Telegram Threads::Threads)
|
||||
|
||||
set_target_properties(Telegram
|
||||
PROPERTIES
|
||||
COTIRE_CXX_PREFIX_HEADER_INIT SourceFiles/stdafx.h
|
||||
|
|
Loading…
Reference in New Issue