diff options
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 56da823f2..b53a55585 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,7 +35,7 @@ if(NOT ${PREFER_GIT_FROMSOURCE}) pkg_config_library(LIBGIT2 libgit2) ELSE() FIND_PACKAGE(LIBGIT2 REQUIRED) - INCLUDE_DIRECTORIES(${LIBGIT2_INCLUDE_DIRS}) + INCLUDE_DIRECTORIES(${LIBGIT2_INCLUDE_DIR}) ENDIF() FIND_PACKAGE(Libdivecomputer REQUIRED) |