Skip to content

Commit

Permalink
fix: Use PATCH_COMMAND instead of UPDATE_COMMAND so the same patch is…
Browse files Browse the repository at this point in the history
…n't applied twice (#53)
  • Loading branch information
Benjamin Geer committed Sep 19, 2016
1 parent a1dfcbe commit 1f9695a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/tiff/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ExternalProject_Add(project_tiff
TEST_BEFORE_INSTALL 1
URL http://download.osgeo.org/libtiff/tiff-4.0.6.tar.gz
SOURCE_DIR ${COMMON_SRCS}/libtiff-4.0.6
UPDATE_COMMAND patch ${COMMON_SRCS}/libtiff-4.0.6/libtiff/tif_dirinfo.c < ${COMMON_PATCHES}/tiff-4.0.4.patch
PATCH_COMMAND patch ${COMMON_SRCS}/libtiff-4.0.6/libtiff/tif_dirinfo.c < ${COMMON_PATCHES}/tiff-4.0.4.patch
CMAKE_ARGS ${CMAKE_CREATE_SHARED} -DCMAKE_INSTALL_PREFIX=${COMMON_LOCAL} -DCMAKE_INSTALL_LIBDIR=${CONFIGURE_LIBDIR}
INSTALL_COMMAND make test
COMMAND make install
Expand Down

0 comments on commit 1f9695a

Please sign in to comment.