Files
cgal/Installation/cmake/modules
Laurent Rineau 291b3029bb Fix a bug in CGAL_SCM.cmake when the HEAD is not a branch
If the current working directory is a checkout of a commit that is not a
branch, for example, a commit in the ancestors of a branch, then CGAL CMake
scripts gave that CMake error:

  == CMake setup ==
  fatal: ref HEAD is not a symbolic ref
  CMake Error at Installation/cmake/modules/CGAL_SCM.cmake:36 (string):
    string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
    command.
  Call Stack (most recent call first):
    CMakeLists.txt:17 (include)

  == CMake setup (DONE) ==

This patch fixes the error. If HEAD is not a branch, then CGAL_GIT_BRANCH
is equal to "HEAD".
2013-01-21 17:23:36 +01:00
..
2012-12-03 18:44:24 +01:00
2012-12-03 18:44:24 +01:00
2012-12-03 18:44:24 +01:00
2012-12-03 18:44:24 +01:00
2012-10-23 23:27:34 +00:00
2012-10-23 23:27:34 +00:00
2012-05-20 11:50:30 +00:00
2012-05-20 11:50:30 +00:00
2008-11-27 16:36:00 +00:00
2011-02-04 09:44:07 +00:00
2012-10-08 09:57:49 +00:00
2012-05-20 11:50:30 +00:00
2012-10-08 09:57:49 +00:00
2012-10-08 09:57:49 +00:00
2011-10-10 13:48:25 +00:00
2012-12-27 20:01:56 +01:00