mirror of https://github.com/CGAL/cgal
Pass CGAL_DIR as a cmake variable to get CMake properly find CGALConfig.cmake
This commit is contained in:
parent
3de724258e
commit
4b3a56a39d
|
|
@ -65,7 +65,7 @@ configure()
|
|||
{
|
||||
echo "Configuring... "
|
||||
|
||||
if eval 'cmake "\$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE .' ; then
|
||||
if eval 'cmake "\$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE -DCGAL_DIR="\$CGAL_DIR" .' ; then
|
||||
echo " succesful configuration" >> \$ERRORFILE
|
||||
else
|
||||
echo " ERROR: configuration" >> \$ERRORFILE
|
||||
|
|
|
|||
Loading…
Reference in New Issue