Commit 688cbefe authored by Rashad Kanavath's avatar Rashad Kanavath

SuperBuild: openjpeg missing png lib dependency

parent 1a17cbca
......@@ -14,16 +14,19 @@ else()
message(STATUS " Using OpenJPEG SuperBuild version")
# declare dependencies
ADDTO_DEPENDENCIES_IF_NOT_SYSTEM(${proj} ZLIB TIFF)
ADDTO_DEPENDENCIES_IF_NOT_SYSTEM(${proj} ZLIB TIFF PNG)
INCLUDE_SUPERBUILD_DEPENDENCIES(${${proj}_DEPENDENCIES})
# set proj back to its original value
set(proj OPENJPEG)
ADD_SUPERBUILD_CMAKE_VAR(TIFF_INCLUDE_DIR)
ADD_SUPERBUILD_CMAKE_VAR(TIFF_LIBRARY)
ADD_SUPERBUILD_CMAKE_VAR(ZLIB_INCLUDE_DIR)
ADD_SUPERBUILD_CMAKE_VAR(ZLIB_LIBRARY)
ADD_SUPERBUILD_CMAKE_VAR(PNG_INCLUDE_DIR)
ADD_SUPERBUILD_CMAKE_VAR(PNG_LIBRARY)
if(MSVC)
#TODO: add LCMS dependency
......
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