Commit f83a87fe authored by Utkarsh Ayachit's avatar Utkarsh Ayachit

Fix more issues.

* Help ParaView location freetype.
* Build PNG with required "features"
parent eca8588b
......@@ -29,5 +29,8 @@ add_external_project(paraview
-DVTK_USE_SYSTEM_LIBXML2:BOOL=${ENABLE_LIBXML2}
-DVTK_USE_SYSTEM_PNG:BOOL=${ENABLE_PNG}
-DVTK_USE_SYSTEM_ZLIB:BOOL=${ENABLE_ZLIB}
# this needs to be set (alas!) since FindFREETYPE.cmake doesn't respect
# CMAKE_PREFIX_PATH
-DFREETYPE_INCLUDE_DIR_FTHEADER:PATH=<INSTALL_DIR>/include/freetype2/
INSTALL_COMMAND ""
)
......@@ -10,4 +10,6 @@ add_external_project(
# URL_MD5 944b56a84b65d94054cc73d7ff965de8
CMAKE_ARGS
-DPNG_TESTS:BOOL=OFF
# VTK uses API that gets hidden when PNG_NO_STDIO is TRUE (default).
-DPNG_NO_STDIO:BOOL=OFF
)
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