From 2f7de61c6b0c1c6c1b1a828458c580fc29f37b97 Mon Sep 17 00:00:00 2001 From: Ivan Mahonin Date: Nov 21 2016 18:49:37 +0000 Subject: opentoonz: force path to libpng (paranoid) --- diff --git a/docker-builder-data/build/script/packet/opentoonz-master.sh b/docker-builder-data/build/script/packet/opentoonz-master.sh index 73a07a0..f4dc2b2 100644 --- a/docker-builder-data/build/script/packet/opentoonz-master.sh +++ b/docker-builder-data/build/script/packet/opentoonz-master.sh @@ -35,7 +35,7 @@ pkbuild() { mkdir -p "$BUILD_PACKET_DIR/$PK_DIRNAME/toonz/build" cd "$BUILD_PACKET_DIR/$PK_DIRNAME/toonz/build" if ! check_packet_function $NAME build.configure; then - if ! cmake -DCMAKE_INSTALL_PREFIX:PATH=$INSTALL_PACKET_DIR ../sources; then + if ! cmake -DPNG_PNG_INCLUDE_DIR=$ENVDEPS_PACKET_DIR/include -DPNG_LIBRARY=$ENVDEPS_PACKET_DIR/lib/libpng.so -DCMAKE_INSTALL_PREFIX:PATH=$INSTALL_PACKET_DIR ../sources; then return 1 fi set_done $NAME build.configure