aboutsummaryrefslogtreecommitdiffstats
path: root/testing/telegram-desktop/lz4.cmake
blob: 28f36dcc0fb02c69fa0369a0715f67e25b663018 (plain) (blame)
1
2
3
4
5
6
7
add_library(external_lz4 INTERFACE IMPORTED GLOBAL)
add_library(desktop-app::external_lz4 ALIAS external_lz4)

find_package(PkgConfig REQUIRED)
pkg_check_modules(LZ4 REQUIRED liblz4)

target_link_libraries(external_lz4 INTERFACE ${LZ4_LIBRARIES})