Mention -DBUILD_SHARED_LIBS in cmake of dlib

Unless this is added, dlib will not be built using -fPIC and will not be able to be linked with PHP later.
This commit is contained in:
Branko Kokanovic 2018-07-02 16:41:21 +02:00 committed by GitHub
parent c0fdf859fd
commit fee4a3d922
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ git clone git@github.com:davisking/dlib.git
cd dlib/dlib
mkdir build
cd build
cmake ..
cmake -DBUILD_SHARED_LIBS=ON ..
make
sudo make install
```