From a334632a1f8c3414f726acf092da84968734fc0e Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Thu, 8 Mar 2012 16:02:48 +0000
Subject: [PATCH] fix cmake

---
 CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index da4c3923be..3fff10c68c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -986,6 +986,7 @@ set(GMSH_EXTERNAL_LIBRARIES ${EXTERNAL_LIBRARIES} CACHE
 
 # group sources for easier navigation in IDEs
 foreach(DIR ${GMSH_DIRS})
+  string(REGEX REPLACE "\\+" "\\\\+" DIR ${DIR})
   source_group(${DIR} REGULAR_EXPRESSION ${DIR}/.*)
 endforeach(DIR)
 
-- 
GitLab