dev-cafe / autocmake

CMake plugin composer.
http://autocmake.org
BSD 3-Clause "New" or "Revised" License
42 stars 18 forks source link

Add "-ldl" for static linking #171

Closed miroi closed 8 years ago

miroi commented 8 years ago

Hi Rado,

to fix dirac.x static linking ( OpenMPI+GNU+OPENBLAS ) I had to inser -ldl after -lpthread command.

Please proprage it into DIRAC repo. Thanks.

bast commented 8 years ago

Thank you. I will integrate it now but in future you can do this fix directly on the DIRAC side. The math_libs.cmake is deprecated and no longer supported. Therefore it is completely fine to further develop it on the DIRAC side.