Last active
August 29, 2015 13:56
-
-
Save scpeters/9199351 to your computer and use it in GitHub Desktop.
patch to disable GDAL on osx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r d6781bae8772 cmake/SearchForStuff.cmake | |
--- a/cmake/SearchForStuff.cmake Mon Feb 24 09:56:33 2014 -0800 | |
+++ b/cmake/SearchForStuff.cmake Mon Feb 24 10:24:48 2014 -0800 | |
@@ -476,15 +476,15 @@ | |
######################################## | |
# Find gdal | |
-include (FindGDAL) | |
-if (NOT GDAL_FOUND) | |
- message (STATUS "Looking for libgdal - not found") | |
- BUILD_WARNING ("GDAL not found, Digital elevation terrains support will be disabled.") | |
- set (HAVE_GDAL OFF CACHE BOOL "HAVE GDAL" FORCE) | |
-else () | |
- message (STATUS "Looking for libgdal - found") | |
- set (HAVE_GDAL ON CACHE BOOL "HAVE GDAL" FORCE) | |
-endif () | |
+#include (FindGDAL) | |
+#if (NOT GDAL_FOUND) | |
+# message (STATUS "Looking for libgdal - not found") | |
+# BUILD_WARNING ("GDAL not found, Digital elevation terrains support will be disabled.") | |
+# set (HAVE_GDAL OFF CACHE BOOL "HAVE GDAL" FORCE) | |
+#else () | |
+# message (STATUS "Looking for libgdal - found") | |
+# set (HAVE_GDAL ON CACHE BOOL "HAVE GDAL" FORCE) | |
+#endif () | |
######################################## | |
# Include man pages stuff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment