Unverified Commit da0b0354 by Edward Thomson Committed by GitHub

Merge pull request #6239 from libgit2/ethomson/cmake_libs

cmake: export libraries needed to compile against libgit2
parents 1327dbcf b08fe71d
......@@ -131,6 +131,14 @@ if(BUILD_FUZZERS)
endif()
# Export for people who use us as a dependency
if(NOT "${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_SOURCE_DIR}")
set(LIBGIT2_DEPENDENCY_OBJECTS ${LIBGIT2_DEPENDENCY_OBJECTS} PARENT_SCOPE)
set(LIBGIT2_SYSTEM_LIBS ${LIBGIT2_SYSTEM_LIBS} PARENT_SCOPE)
endif()
# Summary
feature_summary(WHAT ENABLED_FEATURES DESCRIPTION "Enabled features:")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment