From fee4a3d9227edcd608ecabf20a2b5157e20f51d0 Mon Sep 17 00:00:00 2001 From: Branko Kokanovic Date: Mon, 2 Jul 2018 16:41:21 +0200 Subject: [PATCH] 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. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3567cb1..1cbeccb 100644 --- a/README.md +++ b/README.md @@ -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 ```