summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-11-11 22:54:14 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2021-11-11 22:54:14 -0500
commit34b4fe6da1027f37f937cd8b6ee2555a6c0da662 (patch)
tree3f5af0c90e48be248a33e7f26a3fba14bda6d8df
parent5f500388c31abf771b9609c76735cf5f2af5f54a (diff)
downloadlibgit2-34b4fe6da1027f37f937cd8b6ee2555a6c0da662.tar.gz
cmake: use a string not a boolean for LIBGIT2_FILENAME
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ae0a5d685..664abc0d2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -40,7 +40,7 @@ option(DEBUG_STRICT_OPEN "Enable path validation in open"
# Output options
option(SONAME "Set the (SO)VERSION of the target" ON)
-option(LIBGIT2_FILENAME "Name of the produced binary" OFF)
+ set(LIBGIT2_FILENAME "git2" CACHE STRING "Name of the produced binary")
option(DEPRECATE_HARD "Do not include deprecated functions in the library" OFF)
# Compilation options