diff --git a/README.md b/README.md index 58360ba..cb242b5 100644 --- a/README.md +++ b/README.md @@ -162,12 +162,9 @@ On OSX, you can use brew: % brew install protobuf cmake ``` -If want to use self-prepared protobuf library, setup below environment variables before build: +If want to use self-prepared protobuf library, specify protbof prefix before build: ``` -% export PROTOBUF= -% export PROTOC="$PROTOBUF/bin/protoc" -% export PROTOBUF_LIBS="-L$PROTOBUF/lib -lprotobuf -D_THREAD_SAFE" -% export PROTOBUF_CFLAGS="-I$PROTOBUF/include -D_THREAD_SAFE" +% cmake .. -DCMAKE_PREFIX_PATH= ``` ### Build and Install SentencePiece