Fix to create CGAL_DIR/cmake/platforms which is no longer in the tarball

This commit is contained in:
Fernando Cacciola 2008-11-04 18:28:46 +00:00
parent dbc6b09208
commit 911ef1d18a
1 changed files with 10 additions and 4 deletions

View File

@ -378,12 +378,18 @@ setup_dirs()
CGAL_TEST_DIR=${CGAL_DIR}/test
CGAL_BINARY_DIR_BASE=${CGAL_DIR}/cmake/platforms
if [ ! d "${CGAL_BINARY_DIR_BASE}" ]; then
mkdir "${CGAL_BINARY_DIR_BASE}"
if [ ! -d "${CGAL_DIR}/cmake" ]; then
mkdir "${CGAL_DIR}/cmake"
log "${ACTUAL_LOGFILE}" "Creating ${CGAL_DIR}/cmake"
fi
if [ ! -d "${CGAL_DIR}/cmake/platforms" ]; then
mkdir "${CGAL_DIR}/cmake/platforms"
log "${ACTUAL_LOGFILE}" "Creating ${CGAL_DIR}/cmake/platforms"
fi
CGAL_BINARY_DIR_BASE=${CGAL_DIR}/cmake/platforms
CGAL_RELEASE_DIR=`readlink "${CGAL_DIR}"`
CGAL_RELEASE_ID=`basename "${CGAL_RELEASE_DIR}"`