cmake: avoid warning of missing include dir

This commit is contained in:
Christoph Junghans 2018-05-18 15:06:54 -06:00
parent 6944973484
commit 6997aedf30
1 changed files with 1 additions and 0 deletions

View File

@ -414,6 +414,7 @@ if(PKG_MSCG)
set(MSCG_INCLUDE_DIRS ${SOURCE_DIR}/src)
list(APPEND LAMMPS_DEPS mscg_build)
if(NOT LAPACK_FOUND)
file(MAKE_DIRECTORY ${MSCG_INCLUDE_DIRS})
add_dependencies(mscg_build linalg)
endif()
else()