xkaraman left a comment (kamailio/kamailio#4403)
Hey @sergey-safarov ,
You mean in main `CMakeFiles` and not in a toolchain file?
It could probably be done that way also but cmake best practices suggest
everything related to these variables that define the system build
configuration, and not the actual build artifacts of the project , being in a
toolchain file. Settings these variables must be done before the `project()`
cmake file, so cmake can reliably pick up the correct configurations like
compiler, flags needed and so on.
If you mean to extend in the toolchain files, i don't think it make sense since
you can just provide the right values and be explicit.
It would make sense probably, if you created an `alpine-toolchain.cmake` that
can handle both versions since this `apk` stuff are only available in
`alpine`-derived OSes, but then it would not be applicable for i386 on other
OSes.
Hope this help, if you have any other question, please do ask!
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4403#issuecomment-3397174976
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4403/[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!