diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2021-11-06 16:14:47 -0400 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2021-11-11 15:56:10 -0500 |
commit | 9324d16e7356c1928d577a719eaaad264da58b13 (patch) | |
tree | 6f2eb3bd05daf04104a8f298ee255b3ed7fd49df /README.md | |
parent | ceddeed80a21f0d3a3396d90dd61fada361ed745 (diff) | |
download | libgit2-9324d16e7356c1928d577a719eaaad264da58b13.tar.gz |
cmake: standardize USE_THREADS and USE_NSEC
Threading can now be disabled with `USE_THREADS=OFF` instead of
`THREADSAFE=OFF` to better support the other cmake semantics.
Nanosecond support is the default _if_ we can detect it. This should be
our default always - like threads - and people can opt out explicitly.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -279,7 +279,7 @@ The following CMake variables are declared: - `CMAKE_INSTALL_INCLUDEDIR`: Where to install headers to. - `BUILD_SHARED_LIBS`: Build libgit2 as a Shared Library (defaults to ON) - `BUILD_TESTS`: Build the unit and integration test suites (defaults to ON) -- `THREADSAFE`: Build libgit2 with threading support (defaults to ON) +- `USE_THREADS`: Build libgit2 with threading support (defaults to ON) To list all build options and their current value, you can do the following: |