summaryrefslogtreecommitdiffstats
path: root/Modules/FindGDAL.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/FindGDAL.cmake')
-rw-r--r--Modules/FindGDAL.cmake13
1 files changed, 2 insertions, 11 deletions
diff --git a/Modules/FindGDAL.cmake b/Modules/FindGDAL.cmake
index 14c075a..a92b04c 100644
--- a/Modules/FindGDAL.cmake
+++ b/Modules/FindGDAL.cmake
@@ -25,11 +25,7 @@ FIND_PATH(GDAL_INCLUDE_DIR gdal.h
PATH_SUFFIXES include
)
-FIND_PATH(GDAL_INCLUDE_DIR gdal.h
- PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this.
- NO_DEFAULT_PATH
- PATH_SUFFIXES include
-)
+
FIND_PATH(GDAL_INCLUDE_DIR gdal.h
PATHS
@@ -62,12 +58,7 @@ FIND_LIBRARY(GDAL_LIBRARY
NO_DEFAULT_PATH
PATH_SUFFIXES lib64 lib
)
-FIND_LIBRARY(GDAL_LIBRARY
- NAMES gdal GDAL
- PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this.
- NO_DEFAULT_PATH
- PATH_SUFFIXES lib64 lib
-)
+
FIND_LIBRARY(GDAL_LIBRARY
NAMES gdal GDAL
PATHS