Commit 4bf75f3d authored by Peter Eastman's avatar Peter Eastman
Browse files

Fixed an error linking the examples

parent 7cbeb289
...@@ -3,8 +3,9 @@ ...@@ -3,8 +3,9 @@
# Should rebuild this if anything changes, but here we're # Should rebuild this if anything changes, but here we're
# just listing the local cpp and h files as dependencies. # just listing the local cpp and h files as dependencies.
ADD_LIBRARY(${OpenMM_CWRAPPER_LIB} STATIC ADD_LIBRARY(${OpenMM_CWRAPPER_LIB} SHARED
OpenMM_CWrapper.cpp OpenMM_CWrapper.h) OpenMM_CWrapper.cpp OpenMM_CWrapper.h)
TARGET_LINK_LIBRARIES(${OpenMM_CWRAPPER_LIB} ${SHARED_TARGET})
SET_TARGET_PROPERTIES(${OpenMM_CWRAPPER_LIB} PROPERTIES SET_TARGET_PROPERTIES(${OpenMM_CWRAPPER_LIB} PROPERTIES
PROJECT_LABEL "Example - C Wrapper") PROJECT_LABEL "Example - C Wrapper")
...@@ -13,10 +14,3 @@ SET_TARGET_PROPERTIES(${OpenMM_CWRAPPER_LIB} PROPERTIES ...@@ -13,10 +14,3 @@ SET_TARGET_PROPERTIES(${OpenMM_CWRAPPER_LIB} PROPERTIES
#INSTALL_TARGETS(/lib${LIB64}/plugins #INSTALL_TARGETS(/lib${LIB64}/plugins
# RUNTIME_DIRECTORY /lib${LIB64}/plugins # RUNTIME_DIRECTORY /lib${LIB64}/plugins
# ${OpenMM_CWRAPPER_LIB}) # ${OpenMM_CWRAPPER_LIB})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment