diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8f481196e42..19b0a043998 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -45,3 +45,9 @@ if (PIO_ENABLE_FORTRAN) set(FCFLAGS ${FCFLAGS} PARENT_SCOPE) set(FPPFLAGS ${FPPFLAGS} PARENT_SCOPE) endif () + +# Build the netCDF integration layer if desired. +if (PIO_ENABLE_NETCDF_INTEGRATION) + add_subdirectory (ncint) +endif () + diff --git a/src/ncint/CMakeLists.txt b/src/ncint/CMakeLists.txt new file mode 100644 index 00000000000..4a0b4d57faf --- /dev/null +++ b/src/ncint/CMakeLists.txt @@ -0,0 +1 @@ +cmake_minimum_required (VERSION 2.8.12)