From 089d4878fe58227c628936e4cfcec65120e0606e Mon Sep 17 00:00:00 2001 From: Tammo Jan Dijkema Date: Thu, 26 Jun 2025 11:09:12 +0200 Subject: [PATCH] Update readme with CMAKE_ARGS --- README.rst | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/README.rst b/README.rst index cac779e..b85dd11 100644 --- a/README.rst +++ b/README.rst @@ -62,17 +62,11 @@ On ubuntu you can install these with:: $ pip install . -* If the compilation fails you might need to help the compiler find the paths to the - boost and casacore libraries and headers. You can control this with the `CFLAGS` environment - variable. For example on OS X when using homebrew and clang you need to do something like - this:: - - CFLAGS="-std=c++11 \ - -I/usr/local/Cellar/boost/1.68.0/include/ \ - -I/usr/local/include/ \ - -L/usr/local/Cellar/boost/1.68.0/lib \ - -L/usr/local/lib/" \ - pip install python-casacore +* If the compilation fails you might need to help the compiler find the paths + to the boost and casacore libraries and headers. You can control this with + the `CMAKE_ARGS` environment variable. For example:: + + $ CMAKE_ARGS="-DCASACORE_ROOT_DIR=/path/to/casacore" pip install . Support =======