|
| cmake_minimum_required (VERSION 3.7) project(PIOF Fortran) include(CheckFunctionExists) include(ExternalProject) include(LibCheck) message(STATUS " |
|
disabling support for NetCDF | set (NetCDF_Fortran_FOUND false) endif() endif() if(NetCDF_Fortran_FOUND) message(STATUS "NetCDF Fortran library dependencies |
|
| target_include_directories (piof PUBLIC ${NetCDF_Fortran_INCLUDE_DIRS}) target_compile_definitions(piof PUBLIC _NETCDF) target_link_libraries(piof PUBLIC $ |
|
| if (EXISTS ${NetCDF_Fortran_INCLUDE_DIR}/netcdf_par.h) target_compile_definitions(piof PUBLIC _NETCDF4) check_macro(HAVE_NC4_CHUNK_CONSTS NAME CheckNC4ChunkConsts.f90 HINTS $ |
|