File: Dependencies.cmake

package info (click to toggle)
sight 25.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 42,180 kB
  • sloc: cpp: 289,476; xml: 17,257; ansic: 9,878; python: 1,379; sh: 144; makefile: 33
file content (14 lines) | stat: -rw-r--r-- 343 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
find_package(Boost QUIET COMPONENTS system date_time iostreams log log_setup REQUIRED)
find_package(LibXml2 QUIET REQUIRED)
find_package(OpenSSL COMPONENTS Crypto)

# ZSTD
find_package(PkgConfig QUIET)

if(PKGCONFIG_FOUND)
    pkg_check_modules(ZSTD libzstd)
endif()

if(WIN32 OR NOT ZSTD_FOUND)
    find_package(zstd CONFIG REQUIRED)
endif()