diff options
author | Vicent Marti <tanoku@gmail.com> | 2011-06-17 19:40:51 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-06-17 19:40:51 +0200 |
commit | f0890fccf91bcfbc9f75397897831f411d00db6d (patch) | |
tree | 84b7854febd1e5d71e12d6227d85bb0598b8c659 | |
parent | e01f7f642c941b7b647b4faf47497c0134306d2d (diff) | |
download | libgit2-f0890fccf91bcfbc9f75397897831f411d00db6d.tar.gz |
cmake: Build shared library by default
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | README.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index bbfd151a2..b70183a66 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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.") # 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 (THREADSAFE "Build libgit2 as threadsafe" OFF) @@ -62,7 +62,7 @@ The following CMake variables are declared: - `INSTALL_BIN`: Where to install binaries to. - `INSTALL_LIB`: Where to install libraries 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) - `THREADSAFE`: Build libgit2 with threading support (defaults to OFF) |