Skip to content

Commit

Permalink
Add support for GDAL 3.5.0 Multi-Arch path.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastic authored and nyalldawson committed May 11, 2022
1 parent 545e556 commit 1d2de30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindGDAL.cmake
Expand Up @@ -174,7 +174,7 @@ ELSE(WIN32)
SET(GDAL_LIBRARY ${GDAL_LINK_DIRECTORIES}/lib${GDAL_LIB_NAME}.dylib CACHE STRING INTERNAL FORCE)
ENDIF (NOT GDAL_LIBRARY)
ELSE (APPLE)
FIND_LIBRARY(GDAL_LIBRARY NAMES ${GDAL_LIB_NAME} PATHS ${GDAL_LINK_DIRECTORIES}/lib)
FIND_LIBRARY(GDAL_LIBRARY NAMES ${GDAL_LIB_NAME} gdal PATHS ${GDAL_LINK_DIRECTORIES}/lib ${GDAL_LINK_DIRECTORIES})
ENDIF (APPLE)

ELSE(GDAL_CONFIG)
Expand Down

0 comments on commit 1d2de30

Please sign in to comment.