Make CMake build dlib statically whenever DLIB_IN_PROJECT_BUILD==true,
regardless of the state of BUILD_SHARED_LIBS. This means projects that use dlib by saying add_subdirectory(dlib) will always statically link to dlib, unless DLIB_IN_PROJECT_BUILD is explicltly set to false and BUILD_SHARED_LIBS set to true.
Showing
Please
register
or
sign in
to comment