I noticed the HEMCO CMakeLists declare cmake_minimum_required(VERSION 3.5). Later the root CMakeLists.txt uses the OpenMP::OpenMP_Fortran target (imported by find_package(OpenMP REQUIRED). OpenMP::OpenMP_Fortran is only available in CMake >= 3.9. We should either
Use OpenMP_<lang>_FLAGS and OpenMP_<lang>_LIBRARIES instead of OpenMP::OpenMP_Fortran
I noticed the HEMCO CMakeLists declare
cmake_minimum_required(VERSION 3.5)
. Later the root CMakeLists.txt uses theOpenMP::OpenMP_Fortran
target (imported byfind_package(OpenMP REQUIRED)
.OpenMP::OpenMP_Fortran
is only available in CMake >= 3.9. We should eitherOpenMP_<lang>_FLAGS
andOpenMP_<lang>_LIBRARIES
instead ofOpenMP::OpenMP_Fortran