CGAL_BUGFIX_VERSION must not be empty (for the rc file on Windows)

When CGAL_BUGFIX_VERSION is empty, sets it to 0.
This commit is contained in:
Laurent Rineau 2012-02-07 16:51:38 +00:00
parent 89def2a1af
commit ca9ddf0ca5
1 changed files with 4 additions and 0 deletions

View File

@ -258,6 +258,10 @@ else()
list( GET CGAL_VERSION_TOKENS 2 CGAL_BUGFIX_VERSION )
endif()
if(NOT CGAL_BUGFIX_VERSION)
set(CGAL_BUGFIX_VERSION 0)
endif()
endif()
#--------------------------------------------------------------------------------------------------