aboutsummaryrefslogtreecommitdiffstats
path: root/testing/telegram-desktop/openssl.cmake
blob: 44235645c9ae0bfff25ad802de09d98eab2497eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
add_library(external_openssl INTERFACE IMPORTED GLOBAL)
add_library(desktop-app::external_openssl ALIAS external_openssl)

find_package(OpenSSL REQUIRED)

target_include_directories(external_openssl SYSTEM INTERFACE ${OpenSSL_INCLUDE_DIR})
target_link_libraries(external_openssl
INTERFACE
	OpenSSL::Crypto
	OpenSSL::SSL
)