Commit 9fc0fef0 authored by Michael Sherman's avatar Michael Sherman
Browse files

comment out static build of C examples for now

parent cbee7517
...@@ -64,17 +64,17 @@ FOREACH(EX_PROG ${EXAMPLES}) ...@@ -64,17 +64,17 @@ FOREACH(EX_PROG ${EXAMPLES})
${OpenMM_CWRAPPER_LIB} ${SHARED_TARGET}) ${OpenMM_CWRAPPER_LIB} ${SHARED_TARGET})
ENDIF (BUILD_TESTING_SHARED) ENDIF (BUILD_TESTING_SHARED)
IF (BUILD_TESTING_STATIC) # IF (BUILD_TESTING_STATIC)
# Link with static library # # Link with static library
SET(EX_STATIC ${EX_ROOT}Static) # SET(EX_STATIC ${EX_ROOT}Static)
ADD_EXECUTABLE(${EX_STATIC} ${EX_PROG}) # ADD_EXECUTABLE(${EX_STATIC} ${EX_PROG})
SET_TARGET_PROPERTIES(${EX_STATIC} # SET_TARGET_PROPERTIES(${EX_STATIC}
PROPERTIES # PROPERTIES
COMPILE_FLAGS "-DOPENMM_USE_STATIC_LIBRARIES" # COMPILE_FLAGS "-DOPENMM_USE_STATIC_LIBRARIES"
PROJECT_LABEL "Example C - ${EX_STATIC}") # PROJECT_LABEL "Example C - ${EX_STATIC}")
TARGET_LINK_LIBRARIES(${EX_STATIC} # TARGET_LINK_LIBRARIES(${EX_STATIC}
${OpenMM_CWRAPPER_LIB} ${STATIC_TARGET}) # ${OpenMM_CWRAPPER_LIB} ${STATIC_TARGET})
ENDIF (BUILD_TESTING_STATIC) # ENDIF (BUILD_TESTING_STATIC)
INSTALL(FILES ${EX_SRC} DESTINATION examples) INSTALL(FILES ${EX_SRC} DESTINATION examples)
......
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