update lib/kim/Install.py to support md5 checksum. update CMake support as needed

This commit is contained in:
Axel Kohlmeyer
2018-08-20 22:15:02 -04:00
parent 38c373a0e4
commit fed48427be

View File

@ -670,6 +670,12 @@ if(PKG_USER-VTK)
endif()
if(PKG_KIM)
find_package(CURL)
if(CURL_FOUND)
include_directories(${CURL_INCLUDE_DIRS})
list(APPEND LAMMPS_LINK_LIBS ${CURL_LIBRARIES})
add_definitions(-DLMP_KIM_CURL)
endif()
option(DOWNLOAD_KIM "Download KIM-API v2 from OpenKIM instead of using an already installed one" OFF)
if(DOWNLOAD_KIM)
message(STATUS "KIM-API v2 download requested - we will build our own")