Patch so that cmake has $PWD=CGAL-x.y-I-abc/cmake/platforms/..., instead of

CGAL-I/cmake/platforms/...

The consequence will be that $CGAL_DIR/CGALConfig.cmake will no longer
points to CGAL-I/... whatever version CGAL-I is.

(Patch tested locally. I hope that will no break the testsuite!)
This commit is contained in:
Laurent Rineau
2009-10-29 23:11:13 +00:00
parent 56193af780
commit 6554b42606
@@ -390,12 +390,12 @@ setup_dirs()
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}"`
CGAL_BINARY_DIR_BASE=${CGAL_RELEASE_DIR}/cmake/platforms
log "${ACTUAL_LOGFILE}" "Release to test ${CGAL_RELEASE_DIR}"
log "${ACTUAL_LOGFILE}" "CGAL_RELEASE_ID=${CGAL_RELEASE_ID}"