diff --git a/scripts/cmake/Find.cmake b/scripts/cmake/Find.cmake index 309094892c454daa814642c164112d67f962a50b..91fcc5696fa4f966e58171fe6ac9f9c72a3baa31 100644 --- a/scripts/cmake/Find.cmake +++ b/scripts/cmake/Find.cmake @@ -85,7 +85,7 @@ ENDIF() IF(VTK_NETCDF_FOUND) ADD_DEFINITIONS(-DVTK_NETCDF_FOUND) - INCLUDE_DIRECTORIES(${VTK_NETCDF_FOUND} ${VTK_DIR}/Utilities) + INCLUDE_DIRECTORIES(${VTK_NETCDF_FOUND} ${VTK_DIR}/Utilities ${VTK_NETCDF_FOUND}/../..) ELSE() SET(NETCDF_CXX TRUE) FIND_PACKAGE(NetCDF)