Commit 761715bd authored by Andrew Bauer's avatar Andrew Bauer

Changing the png lib to always be built in Release mode.

Always build in release mode since the symlinks on Linux don't
work right for debug mode (libpng.{so,a} points to libpng14.{so,a}
instead of libpng14d.{so,a}).
parent c82034ef
......@@ -5,4 +5,8 @@ add_external_project(png
-DPNG_TESTS:BOOL=OFF
# VTK uses API that gets hidden when PNG_NO_STDIO is TRUE (default).
-DPNG_NO_STDIO:BOOL=OFF
# Always build in release mode since the symlinks on Linux don't
# work right for debug mode (libpng.{so,a} points to libpng14.{so,a}
# instead of libpng14d.{so,a}).
-DCMAKE_BUILD_TYPE:STRING=Release
)
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