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.
pull/1/head
Branko Kokanovic 6 years ago committed by GitHub
parent c0fdf859fd
commit fee4a3d922
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save