cmake: remove LAMMPS_LINK_LIBS

This commit is contained in:
Christoph Junghans
2020-03-22 18:55:53 -06:00
parent cd89a7c4b7
commit 5828815b3e
20 changed files with 60 additions and 70 deletions

View File

@ -43,6 +43,6 @@ if(PKG_MSCG)
message(FATAL_ERROR "MSCG not found, help CMake to find it by setting MSCG_LIBRARY and MSCG_INCLUDE_DIRS, or set DOWNLOAD_MSCG=ON to download it")
endif()
endif()
list(APPEND LAMMPS_LINK_LIBS ${MSCG_LIBRARIES} ${GSL_LIBRARIES} ${LAPACK_LIBRARIES})
target_link_libraries(lammps PRIVATE ${MSCG_LIBRARIES} GSL::gsl ${LAPACK_LIBRARIES})
include_directories(${MSCG_INCLUDE_DIRS})
endif()