From dd44988c2a91f3b529137a25f36964e81831ec93 Mon Sep 17 00:00:00 2001 From: Emmanuel Christophe <emmanuel.christophe@orfeo-toolbox.org> Date: Tue, 22 Jun 2010 09:39:17 +0800 Subject: [PATCH] COMP: fix cmakecache --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8a3299f359..0aadcfa74b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -83,6 +83,7 @@ IF(Mercurial_FOUND) ELSE(OTB_WC_STATUS) MESSAGE(STATUS "No files modified locally") ENDIF(OTB_WC_STATUS) + STRING(REGEX REPLACE "\n" ";" OTB_WC_STATUS ${OTB_WC_STATUS}) SET(OTB_WC_STATUS ${OTB_WC_STATUS} CACHE STRING "Repository status" FORCE) ENDIF(Mercurial_FOUND) -- GitLab