Unverified Commit fed48427 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

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

parent 38c373a0
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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")