diff options
author | Vicent Marti <vicent@github.com> | 2014-04-28 07:36:27 -0700 |
---|---|---|
committer | Vicent Marti <vicent@github.com> | 2014-04-28 07:36:27 -0700 |
commit | 041336e6bd9dbd22db29f2294e5db8645efdd46b (patch) | |
tree | 94bf4bbb5a0bb5b3530c41de07d9fedae09aec5d | |
parent | ec77105889105204f0efd723200aa74971e8edd3 (diff) | |
parent | 7f0de93a0ddb7aeac24cf1427f50ec86e7a58c08 (diff) | |
download | libgit2-041336e6bd9dbd22db29f2294e5db8645efdd46b.tar.gz |
Merge pull request #2306 from odcinek/development_cmake
Make the build CMake 2.6 compatible
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 704770b29..8a3890152 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,7 @@ PROJECT(libgit2 C) CMAKE_MINIMUM_REQUIRED(VERSION 2.6) # Add find modules to the path -SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/cmake/Modules/") +SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules/") INCLUDE(CheckLibraryExists) INCLUDE(AddCFlagIfSupported) |