From: Matthias Maier Date: Sat, 30 Mar 2013 12:53:53 +0000 (+0000) Subject: Well, no. We don't support libnetcdf_c++4. Major porting required X-Git-Tag: v8.0.0~844 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a717f97f46846039af630264d29e116cb583e9b6;p=dealii.git Well, no. We don't support libnetcdf_c++4. Major porting required git-svn-id: https://svn.dealii.org/trunk@29116 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/cmake/modules/FindNETCDF.cmake b/deal.II/cmake/modules/FindNETCDF.cmake index 070c4cb0dc..0ae1cf535c 100644 --- a/deal.II/cmake/modules/FindNETCDF.cmake +++ b/deal.II/cmake/modules/FindNETCDF.cmake @@ -25,7 +25,7 @@ INCLUDE(FindPackageHandleStandardArgs) SET_IF_EMPTY(NETCDF_DIR "$ENV{NETCDF_DIR}") -FIND_PATH(NETCDF_INCLUDE_DIR netcdf.hh +FIND_PATH(NETCDF_INCLUDE_DIR netcdfcpp.h HINTS ${NETCDF_DIR} PATH_SUFFIXES @@ -39,7 +39,7 @@ FIND_PATH(NETCDF_INCLUDE_DIR netcdf.hh # - separate C++ and C library search # -FIND_LIBRARY(NETCDF_CPLUSPLUS_LIBRARY NAMES netcdf_c++ netcdf_cpp netcdf_c++4 +FIND_LIBRARY(NETCDF_CPLUSPLUS_LIBRARY NAMES netcdf_c++ netcdf_cpp HINTS ${NETCDF_DIR} PATH_SUFFIXES