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
..
2.6.2-to-2.8.1 Get last version of Qt4ConfigDependentSettings.cmake from cmake-2.8.1 (the old one was buggy on MacOs X). 2010-09-08 14:14:08 +00:00
CGALConfig_binary.cmake.in whitespace for git 2012-10-23 23:27:34 +00:00
CGALConfig_install.cmake.in whitespace for git 2012-10-23 23:27:34 +00:00
CGAL_CheckCXXFileRuns.cmake Allow blank in paths to sources 2008-12-14 23:38:01 +00:00
CGAL_Common.cmake Convert all CRLF files to LF 2012-12-03 18:44:24 +01:00
CGAL_CreateSingleSourceCGALProgram.cmake Convert all CRLF files to LF 2012-12-03 18:44:24 +01:00
CGAL_CreateSingleSourceCGALProgramQt4.cmake now I got it: it's not just the first argument, it's the first file 2012-08-03 12:57:04 +00:00
CGAL_GeneratorSpecificSettings.cmake Convert all CRLF files to LF 2012-12-03 18:44:24 +01:00
CGAL_Locate_CGAL_TAUCS.cmake branch-build is now HOT on next ;-) 2011-04-15 09:12:06 +00:00
CGAL_Macros.cmake Convert all CRLF files to LF 2012-12-03 18:44:24 +01:00
CGAL_SCM.cmake Fix a bug in CGAL_SCM.cmake when the HEAD is not a branch 2013-01-21 17:23:36 +01:00
CGAL_SetupBoost.cmake Convert all CRLF files to LF 2012-12-03 18:44:24 +01:00
CGAL_SetupDependencies.cmake not necessarily a CGAL_-UseFile 2012-12-28 18:55:50 +01:00
CGAL_SetupFlags.cmake Add a check that NDEBUG is not defined by test platforms 2012-01-25 11:14:17 +00:00
CGAL_TweakFindBoost.cmake Bug fix: if CGAL_Boost_USE_STATIC_LIBS evaluates to FALSE, one wants to use 2011-10-26 11:24:17 +00:00
CGAL_UseBLAS.cmake Use include_directories(SYSTEM ...) for 3rd-party libraries 2012-08-01 10:53:37 +00:00
CGAL_UseLAPACK.cmake Use include_directories(SYSTEM ...) for 3rd-party libraries 2012-08-01 10:53:37 +00:00
CGAL_UseLEDA.cmake fixed PATH_SUFFIXES inconsistencies: 2012-10-05 12:40:10 +00:00
CGAL_UseMKL.cmake Use include_directories(SYSTEM ...) for 3rd-party libraries 2012-08-01 10:53:37 +00:00
CGAL_UseMPFI.cmake Convert all CRLF files to LF 2012-12-03 18:44:24 +01:00
CGAL_UseRS.cmake Convert all CRLF files to LF 2012-12-03 18:44:24 +01:00
CGAL_UseRS3.cmake Convert all CRLF files to LF 2012-12-03 18:44:24 +01:00
CGAL_UseTAUCS.cmake Use include_directories(SYSTEM ...) for 3rd-party libraries 2012-08-01 10:53:37 +00:00
CGAL_VersionUtils.cmake Convert all CRLF files to LF 2012-12-03 18:44:24 +01:00
FindBLAS.cmake Revert that commit, which was wrong (see below): 2011-10-13 10:17:16 +00:00
FindCGAL.cmake Revert some modifications made by error. 2012-07-31 16:41:10 +00:00
FindCGAL_CORE.cmake merge from next 2012-05-20 11:50:30 +00:00
FindCORE.cmake merge from next 2012-05-20 11:50:30 +00:00
FindESBTL.cmake fixed PATH_SUFFIXES inconsistencies: 2012-10-05 12:40:10 +00:00
FindEigen3.cmake fixed PATH_SUFFIXES inconsistencies: 2012-10-05 12:40:10 +00:00
FindF2C.cmake Moved cmake modules back (2/3) 2008-11-27 16:36:00 +00:00
FindGMP.cmake fixed PATH_SUFFIXES inconsistencies: 2012-10-05 12:40:10 +00:00
FindGMPXX.cmake fixed PATH_SUFFIXES inconsistencies: 2012-10-05 12:40:10 +00:00
FindIPE.cmake move installation dir setup in demo script 2012-06-21 09:51:55 +00:00
FindLAPACK.cmake Revert that commit, which was wrong (see below): 2011-10-13 10:17:16 +00:00
FindLEDA.cmake fixed PATH_SUFFIXES inconsistencies: 2012-10-05 12:40:10 +00:00
FindMKL.cmake Remove a DEBUG message. 2011-02-04 09:44:07 +00:00
FindMPFI.cmake fixed PATH_SUFFIXES inconsistencies: 2012-10-05 12:40:10 +00:00
FindMPFR.cmake fixed PATH_SUFFIXES inconsistencies: 2012-10-05 12:40:10 +00:00
FindNTL.cmake merge from next 2012-10-08 09:57:49 +00:00
FindOpenGL.cmake merge from next 2012-05-20 11:50:30 +00:00
FindQGLViewer.cmake Cancel revision 64607. There had been a problem with the branch. 2011-07-06 11:11:58 +00:00
FindQt3-patched.cmake Refresh the FindQt3-patched module, from CGAL, with recent changes 2012-07-26 09:28:21 +00:00
FindRS.cmake merge from next 2012-10-08 09:57:49 +00:00
FindRS3.cmake merge from next 2012-10-08 09:57:49 +00:00
FindTAUCS.cmake fixed PATH_SUFFIXES inconsistencies: 2012-10-05 12:40:10 +00:00
Qt3Macros-patched.cmake Moved cmake modules back (2/3) 2008-11-27 16:36:00 +00:00
UseCGAL.cmake readded link_libraries 2012-12-27 20:01:56 +01:00
UseESBTL.cmake Use include_directories(SYSTEM ...) for 3rd-party libraries 2012-08-01 10:53:37 +00:00
UseEigen3.cmake Use include_directories(SYSTEM ...) for 3rd-party libraries 2012-08-01 10:53:37 +00:00
test_MPFI.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00