We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e21f6aa commit 9ce6890Copy full SHA for 9ce6890
1 file changed
external_deps/build.sh
@@ -485,16 +485,10 @@ build_png() {
485
486
cd "${dir_name}"
487
488
- local png_cmake_args=(-DPNG_SHARED=OFF -DPNG_STATIC=ON)
489
-
490
- if [ "${LIBS_SHARED}" = 'ON' ]
491
- then
492
- png_cmake_args=(-DPNG_SHARED=ON -DPNG_STATIC=OFF)
493
- fi
494
495
cmake_build \
496
-DPNG_EXECUTABLES=OFF \
497
- "${png_cmake_args[@]}"
+ -DPNG_SHARED="${LIBS_SHARED}" \
+ -DPNG_STATIC="${LIBS_STATIC}"
498
}
499
500
# Build JPEG
0 commit comments