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 ...@@ -11,6 +11,9 @@ superbuild_add_project(gdal
-DGDAL_ENABLE_FRMT_MEM:BOOL=ON -DGDAL_ENABLE_FRMT_MEM:BOOL=ON
-DOGR_ENABLE_MEM:BOOL=ON) -DOGR_ENABLE_MEM:BOOL=ON)
superbuild_apply_patch(gdal lt_objdir-warning
"Fix warning about LT_OBJDIR redefinition")
if (APPLE) if (APPLE)
set(gdal_lib <INSTALL_DIR>/lib/libgdal111.dylib) set(gdal_lib <INSTALL_DIR>/lib/libgdal111.dylib)
elseif (WIN32) 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. */
//#undef ICONV_CPP_CONST
-/* Define to the sub-directory in which libtool stores uninstalled libraries.
- */
-#define LT_OBJDIR "@LT_OBJDIR@"
-
/* Define for Mac OSX Framework build */
#cmakedefine MACOSX_FRAMEWORK
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment