This remove the CMake configuration of several larger packages and places it into their own files in the Modules/Packages folder. - COMPRESS - KIM - LATTE - MESSAGE - MSCG - USER-MOLFILE - USER-NETCDF - USER-PLUMED - USER-QMMM - USER-QUIP - USER-SCAFACOS - USER-SMD - USER-VTK
7 lines
217 B
CMake
7 lines
217 B
CMake
if(PKG_USER-NETCDF)
|
|
find_package(NetCDF REQUIRED)
|
|
include_directories(${NETCDF_INCLUDE_DIRS})
|
|
list(APPEND LAMMPS_LINK_LIBS ${NETCDF_LIBRARIES})
|
|
add_definitions(-DLMP_HAS_NETCDF -DNC_64BIT_DATA=0x0020)
|
|
endif()
|