diff options
author | Even Rouault <even.rouault@spatialys.com> | 2017-06-08 20:46:10 +0000 |
---|---|---|
committer | Even Rouault <even.rouault@spatialys.com> | 2017-06-08 20:46:10 +0000 |
commit | f2a3b020402943f90957552a884788e70ece6cd7 (patch) | |
tree | 831f0e0411bd929ba413f8555604dc4f0b5e3695 /test/TiffTestCommon.cmake | |
parent | 1d658302f8789dbcef153ff610a1e5ecb9230c8d (diff) | |
download | libtiff-git-f2a3b020402943f90957552a884788e70ece6cd7.tar.gz |
* .travis.yml, build/travis-ci: new files from
0001-ci-Add-Travis-support-for-Linux-builds-with-Autoconf.patch by
Roger Leigh (sent to mailing list on 2017-06-08)
This patch adds support for the Travis-CI service.
* .appveyor.yml: new file from
0002-ci-Add-AppVeyor-support.patch by Roger Leigh (sent to mailing
list on 2017-06-08)
This patch adds a .appveyor.yml file to the top-level. This allows
one to opt in to having a branch built on Windows with Cygwin,
MinGW and MSVC automatically when a branch is pushed to GitHub,
GitLab, BitBucket or any other supported git hosting service.
* CMakeLists.txt, test/CMakeLists.txt, test/TiffTestCommon.cmake: apply
patch 0001-cmake-Improve-Cygwin-and-MingGW-test-support.patch from Roger
Leigh (sent to mailing list on 2017-06-08)
This patch makes the CMake build system support running the tests
with MinGW or Cygwin.
Diffstat (limited to 'test/TiffTestCommon.cmake')
-rw-r--r-- | test/TiffTestCommon.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/TiffTestCommon.cmake b/test/TiffTestCommon.cmake index 50a4c34a..a0db6782 100644 --- a/test/TiffTestCommon.cmake +++ b/test/TiffTestCommon.cmake @@ -101,3 +101,8 @@ if(WIN32) file(TO_NATIVE_PATH "${LIBTIFF_DIR}" LIBTIFF_DIR) set(ENV{PATH} "${LIBTIFF_DIR};$ENV{PATH}") endif() +if(CYGWIN) + get_filename_component(LIBTIFF_DIR "${LIBTIFF}" DIRECTORY) + file(TO_NATIVE_PATH "${LIBTIFF_DIR}" LIBTIFF_DIR) + set(ENV{PATH} "${LIBTIFF_DIR}:$ENV{PATH}") +endif() |