Commit f0890fcc by Vicent Marti

cmake: Build shared library by default

parent e01f7f64
...@@ -30,7 +30,7 @@ SET(INSTALL_LIB lib CACHE PATH "Where to install libraries to.") ...@@ -30,7 +30,7 @@ SET(INSTALL_LIB lib CACHE PATH "Where to install libraries to.")
SET(INSTALL_INC include CACHE PATH "Where to install headers to.") SET(INSTALL_INC include CACHE PATH "Where to install headers to.")
# Build options # Build options
OPTION (BUILD_SHARED_LIBS "Build Shared Library (OFF for Static)" OFF) OPTION (BUILD_SHARED_LIBS "Build Shared Library (OFF for Static)" ON)
OPTION (BUILD_TESTS "Build Tests" ON) OPTION (BUILD_TESTS "Build Tests" ON)
OPTION (THREADSAFE "Build libgit2 as threadsafe" OFF) OPTION (THREADSAFE "Build libgit2 as threadsafe" OFF)
......
...@@ -62,7 +62,7 @@ The following CMake variables are declared: ...@@ -62,7 +62,7 @@ The following CMake variables are declared:
- `INSTALL_BIN`: Where to install binaries to. - `INSTALL_BIN`: Where to install binaries to.
- `INSTALL_LIB`: Where to install libraries to. - `INSTALL_LIB`: Where to install libraries to.
- `INSTALL_INC`: Where to install headers to. - `INSTALL_INC`: Where to install headers to.
- `BUILD_SHARED_LIBS`: Build libgit2 as a Shared Library (defaults to OFF) - `BUILD_SHARED_LIBS`: Build libgit2 as a Shared Library (defaults to ON)
- `BUILD_TESTS`: Build the libgit2 test suite (defaults to ON) - `BUILD_TESTS`: Build the libgit2 test suite (defaults to ON)
- `THREADSAFE`: Build libgit2 with threading support (defaults to OFF) - `THREADSAFE`: Build libgit2 with threading support (defaults to OFF)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment