sapling/eden/fs/store/git/CMakeLists.txt
Adam Simpkins 69e28322d3 make support for Git optional
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
2019-09-20 18:22:04 -07:00

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
)