changes required to cross-compile unit tests for windows

This commit is contained in:
Axel Kohlmeyer
2021-05-23 01:46:14 -04:00
parent d5f62a22b8
commit ba854ec7c3
4 changed files with 21 additions and 4 deletions

View File

@ -7,6 +7,7 @@ endif()
include(CheckLanguage)
check_language(Fortran)
if(CMAKE_Fortran_COMPILER)
enable_language(C)
enable_language(Fortran)
get_filename_component(LAMMPS_FORTRAN_MODULE ${LAMMPS_SOURCE_DIR}/../fortran/lammps.f90 ABSOLUTE)
if(BUILD_MPI)