Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1:Update
avogadro
0005-Link-with-libm.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0005-Link-with-libm.patch of Package avogadro
From c697ce9f1ee152a5d163dbcbef085776c1873743 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de> Date: Wed, 27 Dec 2017 10:23:04 +0100 Subject: [PATCH 5/5] Link with libm --- cmake/modules/AvogadroUse.cmake | 2 +- libavogadro/src/extensions/symmetry/libmsym/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/modules/AvogadroUse.cmake b/cmake/modules/AvogadroUse.cmake index 7c3fc61853c9..2e6b96c6c086 100644 --- a/cmake/modules/AvogadroUse.cmake +++ b/cmake/modules/AvogadroUse.cmake @@ -49,7 +49,7 @@ function(avogadro_plugin plugin_name src_list) endif(NOT "${ARGV3}" STREQUAL "") add_library(${plugin_name} SHARED ${src_list} ${plugin_UIS_H} ${plugin_RC_SRCS}) - target_link_libraries(${plugin_name} avogadro) + target_link_libraries(${plugin_name} avogadro m) if(UNIX) add_custom_target("${plugin_name}.mf" diff --git a/libavogadro/src/extensions/symmetry/libmsym/CMakeLists.txt b/libavogadro/src/extensions/symmetry/libmsym/CMakeLists.txt index 1cf00c6387a3..653b4eddff21 100644 --- a/libavogadro/src/extensions/symmetry/libmsym/CMakeLists.txt +++ b/libavogadro/src/extensions/symmetry/libmsym/CMakeLists.txt @@ -32,6 +32,7 @@ if (BUILD_SHARED_LIBS) set_target_properties (msym PROPERTIES POSITION_INDEPENDENT_CODE "TRUE") endif () +target_link_libraries(msym m) set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") #set_target_properties (msym PROPERTIES # C_STANDARD 99 -- 2.15.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor