Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] CMake error in CGAL-4.0.1. Please wait for CGAL-4.0.2, today

Subject: CGAL users discussion list

List archive

[cgal-discuss] CMake error in CGAL-4.0.1. Please wait for CGAL-4.0.2, today


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Cc:
  • Subject: [cgal-discuss] CMake error in CGAL-4.0.1. Please wait for CGAL-4.0.2, today
  • Date: Wed, 04 Jul 2012 10:34:23 +0200
  • Organization: GeometryFactory

Le mardi 03 juillet 2012 16:43:09 Laurent Rineau a écrit :
> The CGAL Open Source Project is pleased to announce the release 4.0.1
> of CGAL, the Computational Geometry Algorithms Library.

Dear CGAL users,

I am sorry to announce that there is a bug in CGAL-4.0.1, that prevents to
build it. I'll publish a new bug fix release CGAL-4.0.2 is an hour.

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt	(revision 70248)
+++ CMakeLists.txt	(working copy)
@@ -259,9 +259,13 @@
     # it is for example "I" or "Ic"):
     if(NOT CGAL_BUGFIX_VERSION GREATER 0 AND NOT CGAL_BUGFIX_VERSION EQUAL 0)
       set(CGAL_BUGFIX_VERSION 0)
-      list( GET CGAL_VERSION_TOKENS 3 CGAL_BUILD_VERSION )
+      if( CGAL_VERSION_TOKENS_LEN GREATER 3 )
+        list( GET CGAL_VERSION_TOKENS 3 CGAL_BUILD_VERSION )
+      endif()
     else()
-      list( GET CGAL_VERSION_TOKENS 4 CGAL_BUILD_VERSION )
+      if( CGAL_VERSION_TOKENS_LEN GREATER 4 )
+        list( GET CGAL_VERSION_TOKENS 4 CGAL_BUILD_VERSION )
+      endif()
     endif()
     # If CGAL_BUILD_VERSION is not a strictly positive number, error
     if(NOT CGAL_BUILD_VERSION GREATER 0)



Archive powered by MHonArc 2.6.18.

Top of Page