--- avogadro-1.2.0/libavogadro/src/extensions/symmetry/libmsym/CMakeLists.txt.orig 2020-05-16 15:58:24.829000000 +0200 +++ avogadro-1.2.0/libavogadro/src/extensions/symmetry/libmsym/CMakeLists.txt 2020-05-16 15:59:08.768000000 +0200 @@ -28,6 +28,7 @@ file (GLOB source src/*.c) add_library (msym ${source}) +target_link_libraries(msym m) if (BUILD_SHARED_LIBS) set_target_properties (msym PROPERTIES POSITION_INDEPENDENT_CODE "TRUE")