sapling/eden/fs/takeover/CMakeLists.txt
Adam Simpkins 6b5f79c0d2 fbcode_builder: rename add_thrift_cpp2_library() to add_fbthrift_cpp_library()
Summary:
Rename the `ThriftCppLibrary.cmake` file to `FBThriftCppLibrary.cmake`, and
also rename `add_thrift_cpp2_library()` to `add_fbthrift_cpp_library()`.

Explicitly calling this `fbthrift` helps clearly distinguish that this is
intended for use with fbthrift (https://github.com/facebook/fbthrift/), as
opposed to Apache thrift.

Reviewed By: wez

Differential Revision: D16738440

fbshipit-source-id: 9b255e06b71c98ad74a34989f564a211958dcdd5
2019-08-29 16:45:12 -07:00

23 lines
434 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.
add_fbthrift_cpp_library(
eden_takeover_thrift
takeover.thrift
)
file(GLOB TAKEOVER_SRCS "*.cpp")
add_library(
eden_takeover STATIC
${TAKEOVER_SRCS}
)
target_link_libraries(
eden_takeover
PUBLIC
eden_fuse
eden_utils
eden_takeover_thrift
)