[netcdf-c] Fix dependency libmath#12434
Conversation
|
No that is incorrect. netcdf-c searches for any usable math library. This might be either libmath.a or a system provided libm.a. As such the CMakeLists.txt needs to differentiate between those two a bit more and have a option like |
|
@Neumann-A Yes, the math library can be provided by the system, but not necessarily. |
|
@JackBoosY: A lot of ports would fail in CI if If you change the order to |
|
considering that the commit introducing the |
|
@Neumann-A Should be okay now. |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Since
netcdf-crequires themathlibrary, the system in Linux also provideslibm, butembree3also generates thelibmathlibrary. Due to search order issues, embree's libmath library will be used first.So change the math library name order to prevent the use of embree's math library.
Fixes #12169