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
parent c0fdf859fd
commit fd54bc80c3

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
```