From 444fcae18b882fd1e8a5efc20cd590611eb9bbd4 Mon Sep 17 00:00:00 2001 From: Sven Roederer Date: Sat, 13 Jan 2018 20:23:17 +0100 Subject: [PATCH] add minimal version of libpjsua required "pj::Account" was added in v2.6, but on e.g. Debian v2.5.5 is avail only. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ee6dbd3..c11d3de 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ INCLUDE(FindPkgConfig) find_package(Boost COMPONENTS system regex REQUIRED) find_package(PkgConfig REQUIRED) -pkg_check_modules(PJSIP "libpjproject") +pkg_check_modules(PJSIP>=2.6 "libpjproject") pkg_check_modules(LOG4CPP "log4cpp") add_definitions(${PJSIP_CFLAGS})