folly-config.cmake.in 823 B

1234567891011121314151617181920212223242526
  1. # CMake configuration file for folly
  2. #
  3. # This provides the Folly::folly target, which you can depend on by adding it
  4. # to your target_link_libraries().
  5. #
  6. # It also defines the following variables, although using these directly is not
  7. # necessary if you use the Folly::folly target instead.
  8. # FOLLY_INCLUDE_DIRS
  9. # FOLLY_LIBRARIES
  10. @PACKAGE_INIT@
  11. set_and_check(FOLLY_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
  12. set_and_check(FOLLY_CMAKE_DIR "@PACKAGE_CMAKE_INSTALL_DIR@")
  13. # Include the folly-targets.cmake file, which is generated from our CMake rules
  14. if (NOT TARGET Folly::folly)
  15. include("${FOLLY_CMAKE_DIR}/folly-targets.cmake")
  16. endif()
  17. # Set FOLLY_LIBRARIES from our Folly::folly target
  18. set(FOLLY_LIBRARIES Folly::folly)
  19. if (NOT folly_FIND_QUIETLY)
  20. message(STATUS "Found folly: ${PACKAGE_PREFIX_DIR}")
  21. endif()