Do not always build static and dynamic
Currently, the static and dynamic version of the libraries are always
built as add_library is called twice. Instead, this patch will use the
standard CMake variable BUILD_SHARED_LIBS to know if the static or the
dynamic version must be built.
Signed-off-by: NFabrice Fontaine <fabrice.fontaine@orange.com>
Showing
想要评论请 注册 或 登录