From b38aaefb2b2a3cbd937c496868da5bb9e952272c Mon Sep 17 00:00:00 2001 From: Edward Hartnett Date: Mon, 10 Aug 2020 13:47:42 -0600 Subject: [PATCH] starting to add ncint code to cmake build --- src/CMakeLists.txt | 6 ++++++ src/ncint/CMakeLists.txt | 1 + 2 files changed, 7 insertions(+) create mode 100644 src/ncint/CMakeLists.txt 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)