| 1 |
# Copyright (c) Meta Platforms, Inc. and affiliates. |
| 2 |
|
| 3 |
# Finds libdouble-conversion. |
| 4 |
# |
| 5 |
# This module defines: |
| 6 |
# DOUBLE_CONVERSION_INCLUDE_DIR |
| 7 |
# DOUBLE_CONVERSION_LIBRARY |
| 8 |
# |
| 9 |
|
| 10 |
find_path(DOUBLE_CONVERSION_INCLUDE_DIR double-conversion/double-conversion.h) |
| 11 |
find_library(DOUBLE_CONVERSION_LIBRARY NAMES double-conversion) |
| 12 |
|
| 13 |
include(FindPackageHandleStandardArgs) |
| 14 |
find_package_handle_standard_args( |
| 15 |
DoubleConversion |
| 16 |
DEFAULT_MSG |
| 17 |
DOUBLE_CONVERSION_LIBRARY DOUBLE_CONVERSION_INCLUDE_DIR) |
| 18 |
|
| 19 |
mark_as_advanced(DOUBLE_CONVERSION_INCLUDE_DIR DOUBLE_CONVERSION_LIBRARY) |