mirror of https://github.com/procxx/kepka.git
Specify ffmpeg flags and defines
This commit is contained in:
parent
6d82d2e14e
commit
d46ad2cfb5
|
@ -540,10 +540,8 @@ include_directories(SourceFiles SourceFiles/core)
|
|||
include_directories(${OPENAL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIRS}
|
||||
${LIBZIP_INCLUDE_DIR_ZIP} ${LIBZIP_INCLUDE_DIR_ZIPCONF}
|
||||
${OPENSSL_INCLUDE_DIR} ${LIBLZMA_INCLUDE_DIRS}
|
||||
${ICONV_INCLUDE_DIR} ${OPUS_INCLUDE_DIR})
|
||||
# ${FFMPEG_INCLUDE_DIR}) -- this doesn't work, wtf?
|
||||
|
||||
# link_directories(${FFMPEG_LIBRARY_DIR})
|
||||
${ICONV_INCLUDE_DIR} ${OPUS_INCLUDE_DIR}
|
||||
${FFMPEG_INCLUDE_DIRS})
|
||||
|
||||
add_subdirectory(ThirdParty/libtgvoip)
|
||||
|
||||
|
@ -600,6 +598,8 @@ else()
|
|||
target_compile_options(Telegram PRIVATE /std:c++14)
|
||||
endif()
|
||||
|
||||
target_compile_definitions(Telegram PRIVATE ${FFMPEG_DEFINITIONS})
|
||||
|
||||
target_link_libraries(Telegram
|
||||
Qt5::Core
|
||||
Qt5::Widgets
|
||||
|
|
Loading…
Reference in New Issue