FindCFLite.cmake 632 B

12345678910111213141516171819
  1. # - Try to find the CFLite library
  2. # Once done this will define
  3. #
  4. # CFLITE_FOUND - System has CFLite
  5. # CFLITE_INCLUDE_DIR - The CFLite include directory
  6. # CFLITE_LIBRARIES - The libraries needed to use CFLite
  7. find_path(CFLITE_INCLUDE_DIR NAMES CoreFoundation/CoreFoundation.h)
  8. find_library(CFLITE_LIBRARIES NAMES CFLite.lib)
  9. include(FindPackageHandleStandardArgs)
  10. # handle the QUIETLY and REQUIRED arguments and set COREFOUNDATION_FOUND to TRUE if
  11. # all listed variables are TRUE
  12. FIND_PACKAGE_HANDLE_STANDARD_ARGS(CFLite DEFAULT_MSG CFLITE_LIBRARIES CFLITE_INCLUDE_DIR)
  13. mark_as_advanced(CFLITE_INCLUDE_DIR CFLITE_LIBRARIES)