Skip to content

Commit

Permalink
Merge pull request #48726 from kadas-albireo/master
Browse files Browse the repository at this point in the history
Also look below gdal include subdir when detecting gdal on MINGW
  • Loading branch information
manisandro authored May 24, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 99c1dbc + 6b321cc commit d1ea860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindGDAL.cmake
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ INCLUDE (${CMAKE_SOURCE_DIR}/cmake/MacPlistMacros.cmake)
IF(WIN32)

IF (MINGW)
FIND_PATH(GDAL_INCLUDE_DIR gdal.h /usr/local/include /usr/include c:/msys/local/include)
FIND_PATH(GDAL_INCLUDE_DIR gdal.h /usr/local/include /usr/include c:/msys/local/include PATH_SUFFIXES gdal)
FIND_LIBRARY(GDAL_LIBRARY NAMES gdal PATHS /usr/local/lib /usr/lib c:/msys/local/lib)
ENDIF (MINGW)

0 comments on commit d1ea860

Please sign in to comment.