From 7d5231c21e5e34dc7a531787179bec2be9b8b683 Mon Sep 17 00:00:00 2001 From: ROUVREAU Vincent Date: Fri, 8 Mar 2019 16:19:15 +0100 Subject: Missing then --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index dfaf2097..4a6a951d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,8 +42,8 @@ addons: # When installing through libcgal-dev apt, CMake Error at CGAL Exports.cmake The imported target "CGAL::CGAL Qt5" references the file install: - if [ ! -d "${CGAL_VERSION}" ]; then echo "Download https://github.com/CGAL/cgal/releases/download/releases%2F${CGAL_VERSION}/${CGAL_VERSION}.tar.xz"; fi - - if [ ! -d "${CGAL_VERSION}" ]; curl -LO "https://github.com/CGAL/cgal/releases/download/releases%2F${CGAL_VERSION}/${CGAL_VERSION}.tar.xz"; fi - - if [ ! -d "${CGAL_VERSION}" ]; tar xf ${CGAL_VERSION}.tar.xz; fi + - if [ ! -d "${CGAL_VERSION}" ]; then curl -LO "https://github.com/CGAL/cgal/releases/download/releases%2F${CGAL_VERSION}/${CGAL_VERSION}.tar.xz"; fi + - if [ ! -d "${CGAL_VERSION}" ]; then tar xf ${CGAL_VERSION}.tar.xz; fi - cd ${CGAL_VERSION} - cmake -DCMAKE_BUILD_TYPE=Release -DCGAL_HEADER_ONLY=ON . - make all -- cgit v1.2.3