Skip to content

Commit

Permalink
removed flags from fortran cmake build
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Aug 31, 2020
1 parent 63662f5 commit adbb0d8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions src/clib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,6 @@ if (PnetCDF_C_FOUND)

# Check library for varn functions
set (CMAKE_REQUIRED_LIBRARIES ${PnetCDF_C_LIBRARY})
# check_function_exists (ncmpi_get_varn PnetCDF_C_HAS_VARN)
# if (PnetCDF_C_HAS_VARN)
# target_compile_definitions(pioc
# PUBLIC USE_PNETCDF_VARN
# PUBLIC USE_PNETCDF_VARN_ON_READ)
# endif()
endif ()

#===== Add EXTRAs =====
Expand Down
6 changes: 0 additions & 6 deletions src/flib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -229,12 +229,6 @@ if (PnetCDF_Fortran_FOUND)

# Check library for varn functions
set (CMAKE_REQUIRED_LIBRARIES ${PnetCDF_Fortran_LIBRARY})
check_function_exists (ncmpi_get_varn PnetCDF_Fortran_HAS_VARN)
if (PnetCDF_Fortran_HAS_VARN)
target_compile_definitions(piof
PUBLIC USE_PNETCDF_VARN
PUBLIC USE_PNETCDF_VARN_ON_READ)
endif()
endif ()

#===== Add EXTRAs =====
Expand Down

0 comments on commit adbb0d8

Please sign in to comment.