File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -34,16 +34,6 @@ endif()
34
34
35
35
# --- NetCDF-Fortran
36
36
37
- # NetCDF-Fortran needs these for its checks of NetCDF-C, but doesn't set them.
38
- find_package (ZLIB)
39
- find_package (Threads)
40
-
41
- set (CMAKE_REQUIRED_LIBRARIES
42
- ${ZLIB_LIBRARIES}
43
- ${CMAKE_THREAD_LIBS_INIT}
44
- ${CMAKE_DL_LIBS}
45
- )
46
-
47
37
set (netcdf_fortran_cmake_args
48
38
-DCMAKE_INSTALL_PREFIX:PATH =${CMAKE_INSTALL_PREFIX}
49
39
-DCMAKE_PREFIX_PATH:PATH =${CMAKE_INSTALL_PREFIX}
@@ -73,7 +63,6 @@ ExternalProject_Add(NETCDF_FORTRAN
73
63
URL ${netcdfFortran_url}
74
64
CONFIGURE_HANDLED_BY_BUILD ON
75
65
CMAKE_ARGS ${netcdf_fortran_cmake_args}
76
- CMAKE_CACHE_ARGS -DCMAKE_REQUIRED_LIBRARIES:STRING =${CMAKE_REQUIRED_LIBRARIES}
77
66
BUILD_BYPRODUCTS ${NetCDF_Fortran_LIBRARIES}
78
67
DEPENDS NETCDF_C
79
68
USES_TERMINAL_DOWNLOAD true
You can’t perform that action at this time.
0 commit comments