Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Cleaned up some NetCDF include directory cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
MintoDA1 authored and MintoDA1 committed Aug 9, 2023
1 parent 92540d8 commit ddde01b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions cmake/Modules/SetUpNetCDF.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ IF(NOT NETCDF_FOUND)
ENABLE_LANGUAGE(C) # Some libraries need a C compiler to find
FIND_PACKAGE(NETCDF REQUIRED)
ENDIF(NOT NETCDF_FOUND)

INCLUDE_DIRECTORIES(${NETCDF_INCLUDE_DIR})
3 changes: 0 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ ENDIF ()
# RELEASE, PROFILING, and TESTING.
INCLUDE(SetFortranFlags)

INCLUDE_DIRECTORIES($ENV{NETCDF_FORTRAN_HOME}/include;$ENV{NETCDF_HOME}/include)


# Add the source files
SET(STRICT_MATH_FILES
${SRC}/collision/collision_generate.f90
Expand Down

0 comments on commit ddde01b

Please sign in to comment.