Commit 2998f390 authored by Ben Boeckel's avatar Ben Boeckel

gdal: fix LT_OBJDIR warnings

parent 2c5fe8bc
......@@ -11,6 +11,9 @@ superbuild_add_project(gdal
superbuild_apply_patch(gdal lt_objdir-warning
"Fix warning about LT_OBJDIR redefinition")
if (APPLE)
set(gdal_lib <INSTALL_DIR>/lib/libgdal111.dylib)
elseif (WIN32)
diff --git a/cmake/cpl_config.h.cmake b/cmake/cpl_config.h.cmake
index 58feff6..67eaeed 100644
--- a/cmake/cpl_config.h.cmake
+++ b/cmake/cpl_config.h.cmake
@@ -140,10 +140,6 @@
/* For .cpp files, define as const if the declaration of iconv() needs const. */
-/* Define to the sub-directory in which libtool stores uninstalled libraries.
- */
-#define LT_OBJDIR "@LT_OBJDIR@"
/* Define for Mac OSX Framework build */
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment