Skip to content
Snippets Groups Projects
Commit a9613542 authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

COMP: add quote in case the string is empty

parent cb94abc3
Branches
Tags
No related merge requests found
...@@ -83,7 +83,7 @@ IF(Mercurial_FOUND) ...@@ -83,7 +83,7 @@ IF(Mercurial_FOUND)
ELSE(OTB_WC_STATUS) ELSE(OTB_WC_STATUS)
MESSAGE(STATUS "No files modified locally") MESSAGE(STATUS "No files modified locally")
ENDIF(OTB_WC_STATUS) ENDIF(OTB_WC_STATUS)
STRING(REGEX REPLACE "\n" ";" OTB_WC_STATUS ${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) SET(OTB_WC_STATUS ${OTB_WC_STATUS} CACHE STRING "Repository status" FORCE)
ENDIF(Mercurial_FOUND) ENDIF(Mercurial_FOUND)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment