27 строки
823 B
CMake
27 строки
823 B
CMake
# CMake configuration file for folly
|
|
#
|
|
# This provides the Folly::folly target, which you can depend on by adding it
|
|
# to your target_link_libraries().
|
|
#
|
|
# It also defines the following variables, although using these directly is not
|
|
# necessary if you use the Folly::folly target instead.
|
|
# FOLLY_INCLUDE_DIRS
|
|
# FOLLY_LIBRARIES
|
|
|
|
@PACKAGE_INIT@
|
|
|
|
set_and_check(FOLLY_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
|
|
set_and_check(FOLLY_CMAKE_DIR "@PACKAGE_CMAKE_INSTALL_DIR@")
|
|
|
|
# Include the folly-targets.cmake file, which is generated from our CMake rules
|
|
if (NOT TARGET Folly::folly)
|
|
include("${FOLLY_CMAKE_DIR}/folly-targets.cmake")
|
|
endif()
|
|
|
|
# Set FOLLY_LIBRARIES from our Folly::folly target
|
|
set(FOLLY_LIBRARIES Folly::folly)
|
|
|
|
if (NOT folly_FIND_QUIETLY)
|
|
message(STATUS "Found folly: ${PACKAGE_PREFIX_DIR}")
|
|
endif()
|