mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
69e28322d3
Summary: Add a CMake option to control whether or not we should build support for Git. If this is disabled we avoid building anything under eden/fs/store/git and drop support for the "git" backing store. Reviewed By: wez Differential Revision: D15980321 fbshipit-source-id: 434364d81b44935ce86fdf4d66697ee21ff2992f
17 lines
341 B
CMake
17 lines
341 B
CMake
# Copyright (c) Facebook, Inc. and its affiliates.
|
|
#
|
|
# This software may be used and distributed according to the terms of the
|
|
# GNU General Public License version 2.
|
|
|
|
file(GLOB STORE_GIT_SRCS "*.cpp")
|
|
add_library(
|
|
eden_store_git STATIC
|
|
${STORE_GIT_SRCS}
|
|
)
|
|
target_link_libraries(
|
|
eden_store_git
|
|
PUBLIC
|
|
eden_store
|
|
libgit2
|
|
)
|