Hello, in the ExternalProject_add function, I would like to access to DOWNLOAD_DIR to download a patch (for ARPACK). So, I define my patch command like this:
================================================== PATCH_COMMAND cd <DOWNLOAD_DIR> && wget /myurl/mypatch.tar.gz && cd <SOURCE_DIR> && tar xvzf <DOWNLOAD_DIR>/mypatch.tar.gz ================================================== However, I get the following error: [ 5%] Performing patch step for 'arpack' /bin/sh: 1: cd: can't cd to <DOWNLOAD_DIR> make[2]: *** [third-party/arpack/stamp/arpack-patch] Erreur 2 make[1]: *** [CMakeFiles/arpack.dir/all] Erreur 2 make: *** [all] Erreur 2 Do you see where I make a mistake? Thank you! Cédric
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake