diff --git a/Scripts/developer_scripts/create_cgal_test_with_cmake b/Scripts/developer_scripts/create_cgal_test_with_cmake index 1642f5320db..67c3819c88a 100755 --- a/Scripts/developer_scripts/create_cgal_test_with_cmake +++ b/Scripts/developer_scripts/create_cgal_test_with_cmake @@ -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