This repository has been archived on 2024-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
avogadro/avogadro-1.2.0-libmsym-add-link-library.patch

11 lines
465 B
Diff

--- 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")