# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

if (BUILD_SAMPLES)
  add_executable(proxygen_cocurl CoCurl.cpp)

  target_link_libraries(proxygen_cocurl PUBLIC proxygen)

  target_compile_options(
      proxygen_cocurl PRIVATE
      ${_PROXYGEN_COMMON_COMPILE_OPTIONS}
  )

  install(
      TARGETS proxygen_cocurl
      EXPORT proxygen-exports
      DESTINATION bin
  )
endif()
