Skip to content

Commit

Permalink
Add netcdf_c++4 library variant used on ArchLinux.
Browse files Browse the repository at this point in the history
  • Loading branch information
endJunction committed Sep 25, 2019
1 parent 5893e3e commit ef1de92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FindNetCDF.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ find_library(NETCDF_LIBRARIES_C NAMES netcdf
# CXX
find_path(NETCDF_INCLUDES_CXX NAMES netcdf
HINTS ${NETCDF_CXX_ROOT} PATH_SUFFIXES include)
find_library(NETCDF_LIBRARIES_CXX NAMES netcdf-cxx4
find_library(NETCDF_LIBRARIES_CXX NAMES netcdf_c++4 netcdf-cxx4
HINTS ${NETCDF_CXX_ROOT} PATH_SUFFIXES lib)

include (FindPackageHandleStandardArgs)
Expand Down

0 comments on commit ef1de92

Please sign in to comment.