"vscode:/vscode.git/clone" did not exist on "48c6dc426f045cb7743b18f5c7329f35f1b7ed79"
Commit 4bf75f3d authored by Peter Eastman's avatar Peter Eastman
Browse files

Fixed an error linking the examples

parent 7cbeb289
......@@ -3,8 +3,9 @@
# Should rebuild this if anything changes, but here we're
# 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)
TARGET_LINK_LIBRARIES(${OpenMM_CWRAPPER_LIB} ${SHARED_TARGET})
SET_TARGET_PROPERTIES(${OpenMM_CWRAPPER_LIB} PROPERTIES
PROJECT_LABEL "Example - C Wrapper")
......@@ -13,10 +14,3 @@ SET_TARGET_PROPERTIES(${OpenMM_CWRAPPER_LIB} PROPERTIES
#INSTALL_TARGETS(/lib${LIB64}/plugins
# RUNTIME_DIRECTORY /lib${LIB64}/plugins
# ${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