UsePkgConfig.cmake 543 B

12345678910111213
  1. # - obsolete pkg-config module for CMake
  2. #
  3. # Includes FindPkgConfig.cmake which defines
  4. #
  5. # PKGCONFIG(package includedir libdir linkflags cflags)
  6. #
  7. # Calling PKGCONFIG will fill the desired information into the 4 given arguments,
  8. # e.g. PKGCONFIG(libart-2.0 LIBART_INCLUDE_DIR LIBART_LINK_DIR LIBART_LINK_FLAGS LIBART_CFLAGS)
  9. # if pkg-config was NOT found or the specified software package doesn't exist, the
  10. # variable will be empty when the function returns, otherwise they will contain the respective information
  11. #
  12. INCLUDE(FindPkgConfig)