mirror of https://github.com/procxx/kepka.git
Add liblzma
This commit is contained in:
parent
66f482ca97
commit
0ce73f4cb8
|
@ -11,6 +11,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|||
find_package(OpenAL REQUIRED)
|
||||
find_package(ZLIB REQUIRED)
|
||||
find_package(OpenSSL REQUIRED)
|
||||
find_package(LibLZMA REQUIRED)
|
||||
|
||||
#find_package(PortAudio REQUIRED)
|
||||
#find_package(Opus REQUIRED)
|
||||
|
@ -30,7 +31,8 @@ endif()
|
|||
# ZLIB_LIBRARIES
|
||||
# OPENSSL_LIBRARIES
|
||||
|
||||
include_directories(${OPENAL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIRS} ${OPENSSL_INCLUDE_DIR})
|
||||
include_directories(${OPENAL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIRS} ${OPENSSL_INCLUDE_DIR}
|
||||
${LIBLZMA_INCLUDE_DIRS})
|
||||
|
||||
add_subdirectory(Telegram)
|
||||
#target_link_libraries(publisher Qt5::Widgets Qt5::DBus)
|
||||
|
|
|
@ -429,6 +429,7 @@ include_directories("${CMAKE_CURRENT_SOURCE_DIR}/SourceFiles")
|
|||
|
||||
add_executable(Telegram ${APP_SRC} ${PLAT_SRC})
|
||||
target_link_libraries(Telegram Qt5::Core Qt5::Widgets)
|
||||
target_link_libraries(Telegram ${LIBLZMA_LIBRARIES})
|
||||
qt5_use_modules(Telegram Core Widgets)
|
||||
|
||||
set_target_properties(Telegram PROPERTIES COTIRE_CXX_PREFIX_HEADER_INIT "SourceFiles/stdafx.h")
|
||||
|
|
Loading…
Reference in New Issue