If OpenMM is compiled with debugging information, the build
attaches _d to the library names. Now CMake will be able to
link against them also.
endif()
add_library(openmm_api_wrapper openmm_wrapper.cpp)
# remove_definitions( -DOPENMM_PLUGIN_DIR="${OpenMM_PLUGIN_DIR}" ) # TODO where should this go?!
- set(GMX_OPENMM_LIBRARIES openmm_api_wrapper gmx_gpu_utils OpenMM)
+ set(GMX_OPENMM_LIBRARIES openmm_api_wrapper gmx_gpu_utils ${OpenMM_LIBRARIES})
endif(GMX_OPENMM)
if(GMX_FAHCORE)