update pathspec when linking KIM API from downloaded archive

This commit is contained in:
Axel Kohlmeyer 2019-02-15 02:21:07 -05:00
parent c193a9aee9
commit afa50ab61a
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 1 additions and 1 deletions

View File

@ -674,7 +674,7 @@ if(PKG_KIM)
)
ExternalProject_get_property(kim_build INSTALL_DIR)
set(KIM-API-V2_INCLUDE_DIRS ${INSTALL_DIR}/include/kim-api-v2)
set(KIM-API-V2_LDFLAGS ${INSTALL_DIR}/lib/libkim-api-v2.2${CMAKE_SHARED_LIBRARY_SUFFIX})
set(KIM-API-V2_LDFLAGS ${INSTALL_DIR}/${CMAKE_INSTALL_LIBDIR}/libkim-api-v2${CMAKE_SHARED_LIBRARY_SUFFIX})
list(APPEND LAMMPS_DEPS kim_build)
else()
find_package(KIM-API-V2)