diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 61ad229923..f777920950 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -44,6 +44,7 @@ set(LAMMPS_DOC_DIR ${LAMMPS_DIR}/doc) set(LAMMPS_TOOLS_DIR ${LAMMPS_DIR}/tools) set(LAMMPS_PYTHON_DIR ${LAMMPS_DIR}/python) set(LAMMPS_POTENTIALS_DIR ${LAMMPS_DIR}/potentials) +set(LAMMPS_THIRDPARTY_DIR ${LAMMPS_DIR}/third_party) set(LAMMPS_DOWNLOADS_URL "https://download.lammps.org" CACHE STRING "Base URL for LAMMPS downloads") set(LAMMPS_POTENTIALS_URL "${LAMMPS_DOWNLOADS_URL}/potentials") @@ -370,6 +371,7 @@ endforeach() # packages with special compiler needs or external libs ###################################################### target_include_directories(lammps PUBLIC $) +target_include_directories(lammps PUBLIC $) if(PKG_ADIOS) # The search for ADIOS2 must come before MPI because diff --git a/src/json.h b/src/json.h index 9a50a76a7f..2f364b445e 100644 --- a/src/json.h +++ b/src/json.h @@ -17,7 +17,7 @@ // wrapper around including the JSON parsing and writing class // Do NOT include in any header file -#include "../third_party/nlohmann/json.hpp" +#include "nlohmann/json.hpp" namespace LAMMPS_NS { using json = ::nlohmann_lmp::json;