From ca9ddf0ca57c1d1e859a79957334f96bb226ab3b Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Tue, 7 Feb 2012 16:51:38 +0000 Subject: [PATCH] CGAL_BUGFIX_VERSION must not be empty (for the rc file on Windows) When CGAL_BUGFIX_VERSION is empty, sets it to 0. --- Installation/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Installation/CMakeLists.txt b/Installation/CMakeLists.txt index cf3beb81a94..a0b99872d1f 100644 --- a/Installation/CMakeLists.txt +++ b/Installation/CMakeLists.txt @@ -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() #--------------------------------------------------------------------------------------------------