mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
6b5f79c0d2
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
23 lines
434 B
CMake
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
|
|
)
|