Generally when you want to pass extra definitions into `cmake`, you do it by 
passing them with `-DNAME=values`. This overwrites any previous value it may 
had, so make sure to include whatever is needed.
ie
`cmake .. -DCC_EXTRA_OPTS= -DVERSION_NODATE`.

But then it should be used somehow from the `CMakeLists.txt` unless it's some 
standard variable.

See https://cmake.org/cmake/help/latest/envvar/CFLAGS.html#envvar:CFLAGS. 
Env variables can also be used to modify these flags.

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

Message ID: <kamailio/kamailio/issues/4053/2531139...@github.com>
_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to