Skip to content

Commit 089d487

Browse files
committed
Update readme with CMAKE_ARGS
1 parent 8fcf796 commit 089d487

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

README.rst

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,11 @@ On ubuntu you can install these with::
6262

6363
$ pip install .
6464

65-
* If the compilation fails you might need to help the compiler find the paths to the
66-
boost and casacore libraries and headers. You can control this with the `CFLAGS` environment
67-
variable. For example on OS X when using homebrew and clang you need to do something like
68-
this::
69-
70-
CFLAGS="-std=c++11 \
71-
-I/usr/local/Cellar/boost/1.68.0/include/ \
72-
-I/usr/local/include/ \
73-
-L/usr/local/Cellar/boost/1.68.0/lib \
74-
-L/usr/local/lib/" \
75-
pip install python-casacore
65+
* If the compilation fails you might need to help the compiler find the paths
66+
to the boost and casacore libraries and headers. You can control this with
67+
the `CMAKE_ARGS` environment variable. For example::
68+
69+
$ CMAKE_ARGS="-DCASACORE_ROOT_DIR=/path/to/casacore" pip install .
7670

7771
Support
7872
=======

0 commit comments

Comments
 (0)