cmake: some more include_directories() -> target_include_directories()

This commit is contained in:
Christoph Junghans
2020-03-24 11:36:21 -06:00
parent 4736402dd9
commit 33a57ed215
15 changed files with 15 additions and 16 deletions

View File

@ -109,5 +109,5 @@ if(PKG_USER-INTEL)
endif()
target_sources(lammps PRIVATE ${USER-INTEL_SOURCES})
include_directories(${USER-INTEL_SOURCES_DIR})
target_include_directories(lammps PRIVATE ${USER-INTEL_SOURCES_DIR})
endif()