Skip to content

Commit

Permalink
Merge pull request #3100 from drwells/config-header-order
Browse files Browse the repository at this point in the history
Give `config.h` a higher precedence.
  • Loading branch information
WardF authored Feb 24, 2025
2 parents 7ce874c + 2035f0a commit 9e86fcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1429,7 +1429,7 @@ configure_file("${netCDF_SOURCE_DIR}/config.h.cmake.in"

add_definitions(-DHAVE_CONFIG_H)

include_directories(${netCDF_BINARY_DIR})
include_directories(BEFORE ${netCDF_BINARY_DIR})
# End autotools-style checks for config.h

#####
Expand Down

0 comments on commit 9e86fcb

Please # to comment.