Add CFLAGS from libraries.

This commit is contained in:
Michał Słomkowski 2015-11-04 02:07:35 +01:00
parent b87e1f840d
commit 237b4057ab

View File

@ -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)