summaryrefslogtreecommitdiffstats
path: root/Tests/UseSWIG/LegacyConfiguration.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/UseSWIG/LegacyConfiguration.cmake')
-rw-r--r--Tests/UseSWIG/LegacyConfiguration.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/UseSWIG/LegacyConfiguration.cmake b/Tests/UseSWIG/LegacyConfiguration.cmake
index 640c713..1acc05a 100644
--- a/Tests/UseSWIG/LegacyConfiguration.cmake
+++ b/Tests/UseSWIG/LegacyConfiguration.cmake
@@ -5,6 +5,13 @@ set (CMAKE_WARN_DEPRECATED FALSE)
find_package(SWIG REQUIRED)
include(${SWIG_USE_FILE})
+# Path separator
+if (WIN32)
+ set (PS "$<SEMICOLON>")
+else()
+ set (PS ":")
+endif()
+
unset(SWIG_LANG_TYPE)
if(${language} MATCHES python)
find_package(PythonInterp REQUIRED)