Reduce warnings

This commit is contained in:
Berkus Decker 2017-11-22 05:36:36 +02:00
parent a52e11befb
commit d919cea370
1 changed files with 4 additions and 0 deletions

View File

@ -538,6 +538,10 @@ add_executable(Telegram ${GUI_TYPE}
${tg_RESOURCES_RCC}
${APPLE_BUNDLE_SRC}
)
# Disable a single annoying warning about c++17
target_compile_options(Telegram PRIVATE -Wno-c++1z-extensions)
target_link_libraries(Telegram tg_boxes)
target_link_libraries(Telegram Qt5::Core Qt5::Widgets) # crashpad::crashpad_client)
target_link_libraries(Telegram ${LIBLZMA_LIBRARIES} ${OPENSSL_LIBRARIES} ${ZLIB_LIBRARIES} ${OPENAL_LIBRARY})