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.
1 parent 5fcfada commit d7b49edCopy full SHA for d7b49ed
src/libgit2/CMakeLists.txt
@@ -228,13 +228,6 @@ set(LIBGIT2_DEPENDENCY_OBJECTS ${LIBGIT2_DEPENDENCY_OBJECTS} PARENT_SCOPE)
228
set(LIBGIT2_SYSTEM_INCLUDES ${LIBGIT2_SYSTEM_INCLUDES} PARENT_SCOPE)
229
set(LIBGIT2_SYSTEM_LIBS ${LIBGIT2_SYSTEM_LIBS} PARENT_SCOPE)
230
231
-if(XCODE_VERSION)
232
- # This is required for Xcode to actually link the libgit2 library
233
- # when using only object libraries.
234
- file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/dummy.c "")
235
- list(APPEND LIBGIT2_OBJECTS ${CMAKE_CURRENT_BINARY_DIR}/dummy.c)
236
-endif()
237
-
238
# Compile and link libgit2
239
add_library(git2 ${SRC_RC} ${LIBGIT2_OBJECTS})
240
target_link_libraries(git2 ${LIBGIT2_SYSTEM_LIBS})
0 commit comments