diff --git a/Scripts/developer_scripts/autotest_cgal b/Scripts/developer_scripts/autotest_cgal index ce4cf750475..b3bac6717f9 100755 --- a/Scripts/developer_scripts/autotest_cgal +++ b/Scripts/developer_scripts/autotest_cgal @@ -514,7 +514,12 @@ if [ -z "\$CMAKE_GENERATOR" ]; then CMAKE_GENERATOR='${CMAKE_GENERATOR}'; fi 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 MAKE_CMD; export CGAL_BINARY_DIR;