Commit 57d3a1c4 authored by Rashad Kanavath's avatar Rashad Kanavath

SuperBuild: geotiff update config values

parent 688cbefe
......@@ -19,16 +19,15 @@ else()
# set proj back to its original value
set(proj GEOTIFF)
if(MSVC)
ADD_SUPERBUILD_CMAKE_VAR(TIFF_INCLUDE_DIR)
ADD_SUPERBUILD_CMAKE_VAR(TIFF_LIBRARY)
ADD_SUPERBUILD_CMAKE_VAR(PROJ4_INCLUDE_DIR)
ADD_SUPERBUILD_CMAKE_VAR(PROJ4_LIBRARY)
ADD_SUPERBUILD_CMAKE_VAR(ZLIB_INCLUDE_DIR)
ADD_SUPERBUILD_CMAKE_VAR(ZLIB_LIBRARY)
ADD_SUPERBUILD_CMAKE_VAR(JPEG_INCLUDE_DIR)
ADD_SUPERBUILD_CMAKE_VAR(JPEG_LIBRARY)
endif()
set(GEOTIFF_SB_CONFIG)
ADD_SUPERBUILD_CMAKE_VAR(TIFF_INCLUDE_DIR)
ADD_SUPERBUILD_CMAKE_VAR(TIFF_LIBRARY)
ADD_SUPERBUILD_CMAKE_VAR(PROJ4_INCLUDE_DIR)
ADD_SUPERBUILD_CMAKE_VAR(PROJ4_LIBRARY)
ADD_SUPERBUILD_CMAKE_VAR(ZLIB_INCLUDE_DIR)
ADD_SUPERBUILD_CMAKE_VAR(ZLIB_LIBRARY)
ADD_SUPERBUILD_CMAKE_VAR(JPEG_INCLUDE_DIR)
ADD_SUPERBUILD_CMAKE_VAR(JPEG_LIBRARY)
ExternalProject_Add(${proj}
PREFIX ${proj}
......@@ -44,6 +43,7 @@ else()
-DCMAKE_BUILD_TYPE:STRING=Release
-DBUILD_SHARED_LIBS:BOOL=ON
-DBUILD_TESTING:BOOL=OFF
${GEOTIFF_SB_CONFIG}
CMAKE_COMMAND ${SB_CMAKE_COMMAND}
)
......
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