Commit c7f6ecb3 by Edward Thomson

cmake: use a string not a boolean for LIBGIT2_FILENAME

parent 395b3dc4
...@@ -40,7 +40,7 @@ option(DEBUG_STRICT_OPEN "Enable path validation in open" ...@@ -40,7 +40,7 @@ option(DEBUG_STRICT_OPEN "Enable path validation in open"
# Output options # Output options
option(SONAME "Set the (SO)VERSION of the target" ON) 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) option(DEPRECATE_HARD "Do not include deprecated functions in the library" OFF)
# Compilation options # Compilation options
......
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