diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2023-02-10 11:08:34 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2023-02-13 10:27:10 +0000 |
commit | d63f1fe2457edbcdae7e20f1c1e4b75fbff8354e (patch) | |
tree | 0f4507bee474c5801a229f2eb5aaa8858514aab0 /cmake | |
parent | f72707872b036f1283537b248f0199ac193c6933 (diff) | |
download | libgit2-d63f1fe2457edbcdae7e20f1c1e4b75fbff8354e.tar.gz |
cmake: support older cmakes
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/ExperimentalFeatures.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/ExperimentalFeatures.cmake b/cmake/ExperimentalFeatures.cmake index 57a66e68d..7eff40bdb 100644 --- a/cmake/ExperimentalFeatures.cmake +++ b/cmake/ExperimentalFeatures.cmake @@ -13,7 +13,7 @@ if(EXPERIMENTAL_SHA256) set(EXPERIMENTAL 1) set(GIT_EXPERIMENTAL_SHA256 1) - add_compile_definitions(GIT_EXPERIMENTAL_SHA256) + add_definitions(-DGIT_EXPERIMENTAL_SHA256=1) else() add_feature_info("SHA256 API" OFF "experimental SHA256 APIs") endif() |