miconda created an issue (kamailio/kamailio#4576)

I am trying to figure out what is the best way to specify additional include 
and library paths for a module.

The particular case right now is `websocket` on `macos` (`darwin`), where 
`libunistring` is installed via `macports`, but it does not ship a `pkg-config` 
file, so the option I was looking briefing at would be to add the macports 
install paths to compiler/linking options `-I` and `-L`:

```
/opt/local/include
/opt/local/lib
```

Considering that most of the libraries come with pkg-config, probably the right 
place is to add to module's `CMakeLists.txt`. I tried to add some condition on 
`if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")`, but somehow it doesn't see to work 
(yet).

On the other hand, I noticed kind of find-specific-library files inside 
`cmake/modules/`. Should this be the preferred approach?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4576
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/[email protected]>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to