mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
4bc8682391
Summary: Update the copyright & license headers in CMake files to reflect the relicensing to GPLv2 Reviewed By: wez Differential Revision: D15487079 fbshipit-source-id: 715e559464c19a0070d6e55a095b3fc7d61ad2f8
43 lines
855 B
CMake
43 lines
855 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.
|
|
|
|
if (WIN32)
|
|
# We should try detaching ServerState from the inodes
|
|
# so that we don't need to make the Windows code depend
|
|
# on it.
|
|
add_library(
|
|
eden_inodes STATIC
|
|
ServerState.cpp
|
|
)
|
|
target_link_libraries(
|
|
eden_inodes
|
|
PUBLIC
|
|
eden_journal
|
|
Folly::folly
|
|
)
|
|
else()
|
|
file(GLOB INODES_SRCS "*.cpp")
|
|
add_library(
|
|
eden_inodes STATIC
|
|
${INODES_SRCS}
|
|
)
|
|
target_link_libraries(
|
|
eden_inodes
|
|
PUBLIC
|
|
eden_overlay_thrift
|
|
eden_overlay
|
|
eden_fuse
|
|
eden_journal
|
|
eden_store
|
|
eden_config
|
|
eden_utils
|
|
eden_service
|
|
eden_takeover_thrift
|
|
eden_tracing
|
|
)
|
|
|
|
add_subdirectory(overlay)
|
|
endif()
|