Skip to content
Snippets Groups Projects
Verified Commit c487f53c authored by Davide Beatrici's avatar Davide Beatrici Committed by Jean-Marc Valin
Browse files

CMake: add option to set BUILD_SHARED_LIBS variable

From https://cmake.org/cmake/help/latest/variable/BUILD_SHARED_LIBS.html

:

"Global flag to cause add_library() to create shared libraries if on.

If present and true, this will cause all libraries to be built shared unless the library was explicitly added as a static library. This variable is often added to projects as an option() so that each user of a project can decide if they want to build the project using shared or static libraries."

Signed-off-by: default avatarJean-Marc Valin <jmvalin@jmvalin.ca>
parent 93b373e8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment