mirror of
https://github.com/facebook/sapling.git
synced 2024-10-05 14:28:17 +03:00
b56f28bf22
Summary: Fixes https://github.com/facebookexperimental/edencommon/issues/3 `utils` is a bit too generic and Gentoo seems to be building edencommon into a shared library. Reviewed By: chadaustin Differential Revision: D38719753 fbshipit-source-id: fb46b6a7c9d3bcc3034765cb47e997a80c646b3d
31 lines
610 B
CMake
31 lines
610 B
CMake
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
#
|
|
# This software may be used and distributed according to the terms of the
|
|
# GNU General Public License version 2.
|
|
|
|
if (WIN32)
|
|
file(GLOB PRJFS_SRCS "*.cpp" "*.h")
|
|
|
|
add_library(
|
|
eden_prjfs STATIC
|
|
${PRJFS_SRCS}
|
|
)
|
|
|
|
target_link_libraries(
|
|
eden_prjfs
|
|
PUBLIC
|
|
eden_request_context
|
|
eden_inodes_inodenumber
|
|
eden_journal
|
|
eden_model
|
|
eden_store
|
|
eden_telemetry
|
|
eden_utils
|
|
eden_service_thrift_util
|
|
Folly::folly
|
|
ProjectedFS
|
|
cpptoml
|
|
edencommon::edencommon_utils
|
|
)
|
|
endif()
|