fonzie
clone your own copy | download snapshot

Snapshots | iceberg

No images in this repository’s iceberg at this time

Inside this repository

FindPODOFO.cmake
text/plain

Download raw (786 bytes)

#  PODOFO_FOUND - system has Potrace
#  PODOFO_INCLUDE_DIR - the Potrace include directory
#  PODOFO_LIBRARIES - The libraries needed to use Potrace

FIND_PATH(PODOFO_INCLUDE_DIR podofo/podofo.h
   /usr/include
   /usr/local/include
)

FIND_LIBRARY(PODOFO_LIBRARY NAMES  podofo libpodofo
   PATHS
   /usr/lib
   /usr/local/lib
)

if (PODOFO_INCLUDE_DIR AND PODOFO_LIBRARY)
   set(PODOFO_FOUND TRUE)
   set(PODOFO_LIBRARIES ${PODOFO_LIBRARY})
else (PODOFO_INCLUDE_DIR AND PODOFO_LIBRARY)
   set(PODOFO_FOUND FALSE)
endif (PODOFO_INCLUDE_DIR AND PODOFO_LIBRARY)

if (PODOFO_FOUND)
      message(STATUS "Found podofo: ${PODOFO_LIBRARIES}")
else (PODOFO_FOUND)
	message(STATUS "don't find podofo")
endif (PODOFO_FOUND)

MARK_AS_ADVANCED(PODOFO_INCLUDE_DIR PODOFO_LIBRARIES PODOFO_LIBRARY)