From 2475e6c68c6581cce518f22c8d6683c857b0fc1b Mon Sep 17 00:00:00 2001 From: Varun Agrawal Date: Wed, 24 Jun 2020 17:44:03 -0500 Subject: [PATCH] Load Cython requirements file instead of reading it in cmake --- cython/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cython/CMakeLists.txt b/cython/CMakeLists.txt index bce9f2308..0d2af6a33 100644 --- a/cython/CMakeLists.txt +++ b/cython/CMakeLists.txt @@ -32,8 +32,7 @@ if (GTSAM_INSTALL_CYTHON_TOOLBOX) ) endif() - file(READ "${PROJECT_SOURCE_DIR}/cython/requirements.txt" CYTHON_INSTALL_REQUIREMENTS) - file(READ "${PROJECT_SOURCE_DIR}/README.md" README_CONTENTS) + set(CYTHON_INSTALL_REQUIREMENTS_FILE "${PROJECT_SOURCE_DIR}/cython/requirements.txt") # Install the custom-generated __init__.py # This is to make the build/cython/gtsam folder a python package, so gtsam can be found while wrapping gtsam_unstable