diff options
author | Patrick Steinhardt <ps@pks.im> | 2018-04-27 15:31:43 +0100 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2018-05-09 13:50:42 +0200 |
commit | 8ab470f513a82736998c7a0dc1ad534cf00e64c3 (patch) | |
tree | 4ce16e46592584086df9ef18df64a7120098c7c2 /examples | |
parent | 0f62e4c7393366acd8ab0887c069d9929c358d07 (diff) | |
download | libgit2-8ab470f513a82736998c7a0dc1ad534cf00e64c3.tar.gz |
cmake: remove now-useless LIBGIT2_LIBDIRS handling
With the recent change of always resolving pkg-config libraries to their
full path, we do not have to manage the LIBGIT2_LIBDIRS variable
anymore. The only other remaining user of LIBGIT2_LIBDIRS is winhttp,
which is a CMake-style library target and can thus be resolved by CMake
automatically.
Remove the variable to simplify our build system a bit.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/CMakeLists.txt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 99e2ba9c1..ca7515e5d 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,4 +1,3 @@ -LINK_DIRECTORIES(${LIBGIT2_LIBDIRS}) INCLUDE_DIRECTORIES(${LIBGIT2_INCLUDES}) FILE(GLOB_RECURSE SRC_EXAMPLE_GIT2 network/*.c network/*.h common.?) |