From 7c333ad9234d967e892dd6872db15f3ae0f681c1 Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Wed, 12 Jul 2017 00:31:12 -0700 Subject: [PATCH] replace backslashes with forward slashes in conda path --- xlntpyarrow/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xlntpyarrow/CMakeLists.txt b/xlntpyarrow/CMakeLists.txt index 47d84a93..5c4c2d4f 100644 --- a/xlntpyarrow/CMakeLists.txt +++ b/xlntpyarrow/CMakeLists.txt @@ -5,6 +5,8 @@ if(NOT MSVC) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") endif() +string(REGEX REPLACE "\\\\" "/" CONDA_ROOT ${CONDA_ROOT}) + configure_file("${CMAKE_CURRENT_SOURCE_DIR}/setup.py.cmake" "${CMAKE_CURRENT_BINARY_DIR}/setup.py")