| 1 | /* Minimal consumer test for the installed pjproject CMake package. |
| 2 | * Verifies that find_package(Pj) works and all transitive dependencies |
| 3 | * (including Pj::Dep::* aliases) resolve correctly. |
| 4 | */ |
| 5 | #include <pjsua-lib/pjsua.h> |
| 6 | |
| 7 | int main(void) |
| 8 | { |
| 9 | pj_status_t status; |
| 10 | status = pjsua_create(); |
| 11 | if (status != PJ_SUCCESS) |
| 12 | return 1; |
| 13 | pjsua_destroy(); |
| 14 | return 0; |
| 15 | } |