Re: [PATCH] cmake: use the standard CMake flag to drive the shared object build

2017-12-15 Thread Yegor Yefremov
Hello Thomas, On Fri, Dec 15, 2017 at 3:09 PM, wrote: > From: Samuel Martin > > Remove the STATICLIBS CMake option (and the code handling it) and let > the standard CMake flags drive the shared object build. > > Build shared library: > cmake

[PATCH] cmake: use the standard CMake flag to drive the shared object build

2017-12-15 Thread yegorslists
From: Samuel Martin Remove the STATICLIBS CMake option (and the code handling it) and let the standard CMake flags drive the shared object build. Build shared library: cmake -DBUILD_SHARED_LIBS=ON Build static library: cmake -DBUILD_SHARED_LIBS=OFF Signed-off-by: Samuel