autotest_cgal: small modification for Cygwin

In case of Cygwin, use cygpath on CGAL_REFERENCE_CACHE_DIR
This commit is contained in:
Laurent Rineau 2015-09-08 13:05:04 +02:00
parent d2293994ba
commit 5dfea470e7
1 changed files with 6 additions and 1 deletions

View File

@ -514,7 +514,12 @@ if [ -z "\$CMAKE_GENERATOR" ]; then
CMAKE_GENERATOR='${CMAKE_GENERATOR}'; CMAKE_GENERATOR='${CMAKE_GENERATOR}';
fi fi
MAKE_CMD='${MAKE_CMD}'; MAKE_CMD='${MAKE_CMD}';
CGAL_REFERENCE_CACHE_DIR='${CGAL_REFERENCE_CACHE_DIR}'; if [ -n "${IS_CYGWIN}" ]; then
CGAL_REFERENCE_CACHE_DIR=\$( cygpath -w '${CGAL_REFERENCE_CACHE_DIR}' );
else
CGAL_REFERENCE_CACHE_DIR='${CGAL_REFERENCE_CACHE_DIR}';\
fi
export CMAKE_GENERATOR; export CMAKE_GENERATOR;
export MAKE_CMD; export MAKE_CMD;
export CGAL_BINARY_DIR; export CGAL_BINARY_DIR;