From 9f57a5cc540f8d6640d542eb44d1898de735ca64 Mon Sep 17 00:00:00 2001 From: Edward Hartnett Date: Wed, 19 Aug 2020 04:57:31 -0600 Subject: [PATCH] ncint build working! --- src/clib/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/clib/CMakeLists.txt b/src/clib/CMakeLists.txt index 948a7a0f8dd..773acad1248 100644 --- a/src/clib/CMakeLists.txt +++ b/src/clib/CMakeLists.txt @@ -42,6 +42,10 @@ elseif ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang") string(APPEND CMAKE_C_FLAGS " -std=c99 ") endif() +if (NETCDF_INTEGRATION) + target_link_libraries(pioc PUBLIC ncint) +endif () + #============================================================================== # DEFINE THE INSTALL #==============================================================================