]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Well, no. We don't support libnetcdf_c++4. Major porting required
authorMatthias Maier <tamiko@kyomu.43-1.org>
Sat, 30 Mar 2013 12:53:53 +0000 (12:53 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Sat, 30 Mar 2013 12:53:53 +0000 (12:53 +0000)
git-svn-id: https://svn.dealii.org/trunk@29116 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/modules/FindNETCDF.cmake

index 070c4cb0dc1e4216d671c8b1aee10a087fd2b8aa..0ae1cf535c192a123ac317b6fe33365e5dea68aa 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.