From d06567e15ac11fbd8f45e5d807176ac0dfd9fa30 Mon Sep 17 00:00:00 2001
From: Andreas Schenk <andreas_schenk@hms.harvard.edu>
Date: Mon, 1 Apr 2013 11:59:20 -0400
Subject: [PATCH] fixed base __init__.py single quote escapes for windows

---
 modules/base/pymod/CMakeLists.txt | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/modules/base/pymod/CMakeLists.txt b/modules/base/pymod/CMakeLists.txt
index 433dfeb9f..9e9a42977 100644
--- a/modules/base/pymod/CMakeLists.txt
+++ b/modules/base/pymod/CMakeLists.txt
@@ -10,7 +10,11 @@ if (NOT ENABLE_STATIC)
         PY settings.py stutil.py table.py xmlrunner.py testutils.py)
 endif() 
 
-set(SQ "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'")
+if(WIN32)
+  set(SQ "'")
+else(WIN32)
+  set(SQ "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'")
+endif(WIN32)
 set(SUBST_DICT "ALL_ADDITIONAL_MODULES=")
 if(ENABLE_GUI)
   set(SUBST_DICT "${SUBST_DICT},${SQ}gui${SQ}")
-- 
GitLab