From cb2770934583508d20432e90d97f99bfee306c32 Mon Sep 17 00:00:00 2001 From: Eric Berberich Date: Sun, 21 Jun 2009 08:40:36 +0000 Subject: [PATCH] project name --- Scripts/scripts/cgal_create_cmake_script_with_options | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Scripts/scripts/cgal_create_cmake_script_with_options b/Scripts/scripts/cgal_create_cmake_script_with_options index 67c75cb8aca..148ebd21ca6 100755 --- a/Scripts/scripts/cgal_create_cmake_script_with_options +++ b/Scripts/scripts/cgal_create_cmake_script_with_options @@ -135,7 +135,11 @@ create_cmake_script_with_options() EOF #--------------------------------------------------------------------------- - echo "project( ${PROJECT} )" + if [ "$SINGLE_SOURCE" = "n" ]; then + echo "project( ${PROJECT} )" + else + echo "project( ${SOURCE} )" + fi #vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv cat << 'EOF'