summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2020-03-06 17:13:48 +0000
committerGitHub <noreply@github.com>2020-03-06 17:13:48 +0000
commite23b8b446522f17eb3329b62201aae7674f06e13 (patch)
tree97234375772a514401f74db1455c72eb20d2f27c /src
parent8eb1fc36b65a69ca67795cef8ef424a86ae4af68 (diff)
parentd8e71cb2b25183a1c6f9b68e31d014ce43160e5a (diff)
downloadlibgit2-e23b8b446522f17eb3329b62201aae7674f06e13.tar.gz
Merge pull request #5422 from pks-t/pks/cmake-booleans
CMake booleans
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 8ae19a82d..1915e8a9a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -28,7 +28,7 @@ SET(LIB_INSTALL_DIR lib CACHE PATH "Where to install libraries to.")
SET(INCLUDE_INSTALL_DIR include CACHE PATH "Where to install headers to.")
# Enable tracing
-IF (ENABLE_TRACE STREQUAL "ON")
+IF(ENABLE_TRACE)
SET(GIT_TRACE 1)
ENDIF()
ADD_FEATURE_INFO(tracing GIT_TRACE "tracing support")