forked from lijiext/lammps
cmake: avoid warning of missing include dir
This commit is contained in:
parent
6944973484
commit
6997aedf30
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue