[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/utils/strigi-chemical/src
From:       Egon Willighagen <e.willighagen () science ! ru ! nl>
Date:       2009-11-08 23:07:22
Message-ID: 1257721642.169716.2537.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1046520 by egonw:

Failed attempt to get the InChI gerenation working... fails only at runtime with a symbol not found :(

 M  +1 -0      inchi-generator/CMakeLists.txt  
 M  +6 -3      openbabel-helper/CMakeLists.txt  


--- trunk/playground/utils/strigi-chemical/src/inchi-generator/CMakeLists.txt #1046519:1046520
@@ -5,6 +5,7 @@
 
 #TARGET_LINK_LIBRARIES(inchigen ${STRIGI_STREAMANALYZER_LIBRARY} openbabel-helper)
 TARGET_LINK_LIBRARIES(inchigen ${STRIGI_STREAMANALYZER_LIBRARY})
+TARGET_LINK_LIBRARIES(inchigen openbabelhelper)
 
 SET_TARGET_PROPERTIES(inchigen PROPERTIES PREFIX strigita_)
 
--- trunk/playground/utils/strigi-chemical/src/openbabel-helper/CMakeLists.txt #1046519:1046520
@@ -1,4 +1,7 @@
 INCLUDE_DIRECTORIES(${OPENBABEL2_INCLUDE_DIR})
-#ADD_LIBRARY(openbabel-helper STATIC openbabelhelper.cpp)
-SET(CMAKE_CXX_FLAGS "-fexceptions")
-ADD_LIBRARY(openbabel-helper openbabelhelper.cpp)
+
+SET(CMAKE_CXX_FLAGS "-fexceptions -fPIC")
+
+ADD_LIBRARY(openbabelhelper STATIC openbabelhelper.cpp)
+
+INSTALL(TARGETS openbabelhelper ARCHIVE DESTINATION ${LIB_INSTALL_DIR})
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic