Ignore:
Timestamp:
04/03/24 11:07:25 (12 months ago)
Author:
jdquinn
Message:

CHG: External package upgrades; fixes for distributables; cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/gmt/configs/6.5/static/cmake/modules/FindNETCDF.cmake.patch

    r28161 r28197  
    1 --- src/cmake/modules/FindNETCDF.cmake  2024-01-07 01:32:40
    2 +++ FindNETCDF.cmake     2024-03-20 19:01:13
     1--- src/cmake/modules/FindNETCDF.cmake  2024-01-07 01:32:40
     2+++ FindNETCDF.cmake    2024-03-31 15:12:47
    33@@ -67,6 +67,23 @@
    44                     OUTPUT_VARIABLE NETCDF_PREFIX_DIR
     
    6565+    endforeach (_extralib)
    6666+    # Retrieve static library names
    67 +    string(REGEX MATCHALL "[a-zA-Z0-9]+\\.a" _netcdf_extra_static_lib "${NETCDF_EXTRA_LIBS}")
     67+    string(REGEX MATCHALL "[-_/a-zA-Z0-9]+\\.a" _netcdf_extra_static_lib "${NETCDF_EXTRA_LIBS}")
    6868+    foreach (_extralib ${_netcdf_extra_static_lib})
    69 +        find_library (_found_lib_${_extralib}
     69+        find_library (${_extralib}
    7070+            NAMES ${_extralib}
    7171+            PATH_SUFFIXES lib
     
    7373+            ${_netcdf_extra_libpath}
    7474+        )
    75 +        list (APPEND NETCDF_LIBRARY ${_found_lib_${_extralib}})
     75+        list (APPEND NETCDF_LIBRARY ${_extralib})
    7676+    endforeach (_extralib)
    7777+endif (NETCDF_EXTRA_LIBS)
Note: See TracChangeset for help on using the changeset viewer.