We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1327dbc + b08fe71 commit da0b035Copy full SHA for da0b035
CMakeLists.txt
@@ -131,6 +131,14 @@ if(BUILD_FUZZERS)
131
endif()
132
133
134
+# Export for people who use us as a dependency
135
+
136
+if(NOT "${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_SOURCE_DIR}")
137
+ set(LIBGIT2_DEPENDENCY_OBJECTS ${LIBGIT2_DEPENDENCY_OBJECTS} PARENT_SCOPE)
138
+ set(LIBGIT2_SYSTEM_LIBS ${LIBGIT2_SYSTEM_LIBS} PARENT_SCOPE)
139
+endif()
140
141
142
# Summary
143
144
feature_summary(WHAT ENABLED_FEATURES DESCRIPTION "Enabled features:")
0 commit comments