From 237b4057ab2929d94a6a37d89a85732c99028d1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20S=C5=82omkowski?= Date: Wed, 4 Nov 2015 02:07:35 +0100 Subject: [PATCH] Add CFLAGS from libraries. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5d93eff..f14680d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,6 +10,9 @@ find_package(PkgConfig REQUIRED) pkg_check_modules(PJSIP "libpjproject") pkg_check_modules(LOG4CPP "log4cpp") +add_definitions(${PJSIP_CFLAGS}) +add_definitions(${LOG4CPP_CFLAGS}) + include_directories(${PJSIP_INCLUDE_DIRS}) include_directories(${LOG4CPP_INCLUDE_DIRS}) include_directories(../mumlib/include)