mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-03-19 17:30:27 +08:00
Give config.h a higher precedence.
This fixes a bug on 4.9.2 where an installed non-netcdf config.h was included instead of netcdf's config.h.
This commit is contained in:
parent
7ce874ca8e
commit
2035f0ab90
@ -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
|
||||
|
||||
#####
|
||||
|
Loading…
x
Reference in New Issue
Block a user