diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2021-11-15 09:54:00 -0500 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2022-02-22 22:07:44 -0500 |
commit | 91ba089663f5efc3bd4ba14a5099372cf5ce57a6 (patch) | |
tree | b0553251de7fca6c6edefa2c62a6b1ad381d1e19 /examples | |
parent | d7b49ed4427bf4823ac5a18a176f317c6d2717ac (diff) | |
download | libgit2-91ba089663f5efc3bd4ba14a5099372cf5ce57a6.tar.gz |
cmake: rename git2internal target to libgit2
The `git2internal` target is actually the git library; call it such so
that IDE users have visibility into it.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 956b03827..8e38c7d4e 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -12,7 +12,7 @@ target_include_directories(lg2 PRIVATE ${LIBGIT2_INCLUDES} ${LIBGIT2_DEPENDENCY_ target_include_directories(lg2 SYSTEM PRIVATE ${LIBGIT2_SYSTEM_INCLUDES}) if(WIN32 OR ANDROID) - target_link_libraries(lg2 git2) + target_link_libraries(lg2 libgit2package) else() - target_link_libraries(lg2 git2 pthread) + target_link_libraries(lg2 libgit2package pthread) endif() |