From 059e5758ed1fc7b31a4e62fe740e458013946ed9 Mon Sep 17 00:00:00 2001 From: click Date: Fri, 15 Oct 2010 15:47:30 +0200 Subject: [PATCH] BuildSystem: Fix a minor issue when using CMake-2.6.x to generate the buildfiles (Thanks to A.Metaphysical.Drama for the report/fix) --HG-- branch : trunk --- cmake/genrev.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/genrev.cmake b/cmake/genrev.cmake index 669dab40ba6..b3fb4aade2a 100644 --- a/cmake/genrev.cmake +++ b/cmake/genrev.cmake @@ -62,7 +62,7 @@ if(NOT BUILDDIR) endif() # Create the actual revision.h file from the above params -if(NOT ("${rev_id_cached}" MATCHES "${rev_id_str}")) +if(NOT "${rev_id_cached}" MATCHES "${rev_id_str}") configure_file( "${CMAKE_SOURCE_DIR}/revision.h.in.cmake" "${BUILDDIR}/revision.h"