Skip to content

Commit d1adec6

Browse files
authored
Detect netcdf CXX (#241)
1 parent af99128 commit d1adec6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ find_package( MPI REQUIRED COMPONENTS C CXX Fortran )
4747
include_directories( ${Boost_INCLUDE_DIR} )
4848

4949
# NetCDF
50-
find_package( NetCDF REQUIRED COMPONENTS C Fortran)
50+
find_package( NetCDF REQUIRED COMPONENTS C CXX Fortran)
5151

5252
# eckit
5353
find_package( eckit REQUIRED )

0 commit comments

Comments
 (0)