mirror of
https://github.com/facebook/proxygen.git
synced 2025-09-11 12:30:43 +03:00
Summary: Move `FindDoubleConversion.cmake` into the shared getdeps directory, to make it easier to share across projects. Previously folly, fizz, and wangle each had their own copy. The versions used by fizz and wangle had a bug where they set `double_conversion_FOUND` instead of `DoubleConversion_FOUND`. Reviewed By: Orvid Differential Revision: D36678744 fbshipit-source-id: 7bfba5db743cf4e1c92799faa3e0a194f0d90c95
20 lines
557 B
CMake
20 lines
557 B
CMake
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
|
|
# Finds libdouble-conversion.
|
|
#
|
|
# This module defines:
|
|
# DOUBLE_CONVERSION_INCLUDE_DIR
|
|
# DOUBLE_CONVERSION_LIBRARY
|
|
#
|
|
|
|
find_path(DOUBLE_CONVERSION_INCLUDE_DIR double-conversion/double-conversion.h)
|
|
find_library(DOUBLE_CONVERSION_LIBRARY NAMES double-conversion)
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
find_package_handle_standard_args(
|
|
DoubleConversion
|
|
DEFAULT_MSG
|
|
DOUBLE_CONVERSION_LIBRARY DOUBLE_CONVERSION_INCLUDE_DIR)
|
|
|
|
mark_as_advanced(DOUBLE_CONVERSION_INCLUDE_DIR DOUBLE_CONVERSION_LIBRARY)
|