USER-SMD.cmake: fix a typo

This commit is contained in:
Christoph Junghans 2020-03-25 14:42:23 -06:00
parent 2571b6058e
commit ad37c0a806
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ if(PKG_USER-SMD)
CONFIGURE_COMMAND "" BUILD_COMMAND "" INSTALL_COMMAND ""
)
ExternalProject_get_property(Eigen3_build SOURCE_DIR)
target_include_directories(lammps ${SOURCE_DIR})
target_include_directories(lammps PRIVATE ${SOURCE_DIR})
add_dependencies(lammps Eigen3_build)
else()
find_package(Eigen3 NO_MODULE)