agg/bin/AggConfig.cmake.in

37 lines
1.3 KiB
CMake
Raw Normal View History

2021-12-27 20:14:31 +01:00
#set where AggConfig.cmake was found, all else relative to that.
SET( AGG_FLAGS "" )
SET( AGG_INCLUDE_DIRS "" )
SET( AGG_LIBRARY_DIRS "" )
SET( AGG_LIBRARIES "" )
SET( AGG_FLAGS @AGG_FLAGS@ )
SET( AGG_INCLUDE_DIRS_CONFIG @AGG_INCLUDE_DIRS@ )
#convert relative to absolute
FOREACH( includedir ${AGG_INCLUDE_DIRS_CONFIG} )
SET( AGG_INCLUDE_DIRS ${AGG_INCLUDE_DIRS} "@antigrain_SOURCE_DIR@/${includedir}" )
ENDFOREACH( includedir )
SET( AGG_LIBRARIES @AGG_LIBRARIES@ )
SET( AGG_LIBRARY_DIRS_CONFIG @AGG_LIBRARY_DIRS@ )
#convert relative to absolute
FOREACH( libdir ${AGG_LIBRARY_DIRS_CONFIG} )
SET( AGG_LIBRARY_DIRS ${AGG_LIBRARY_DIRS} "${AGG_DIR_BIN}/../${libdir}" )
ENDFOREACH( libdir )
SET( AGG_USE_FILE ${AGG_DIR_BIN}/UseAgg.cmake )
#options that where set
SET( agg_USE_GPC @agg_USE_GPC@ )
SET( agg_USE_FREETYPE @agg_USE_FREETYPE@ )
SET( agg_USE_EXPAT @agg_USE_EXPAT@ )
SET( agg_USE_AGG2D @agg_USE_AGG2D@ )
SET( AGG_DIR ${AGG_DIR} CACHE STRING "Agg root directory" FORCE )
SET( AGG_FLAGS ${AGG_FLAGS} CACHE STRING "Agg package flags" FORCE )
SET( AGG_INCLUDE_DIRS ${AGG_INCLUDE_DIRS} CACHE STRING "Agg package libs include paths" FORCE )
SET( AGG_LIBRARY_DIRS ${AGG_LIBRARY_DIRS} CACHE STRING "Agg package libs directory paths" FORCE )
SET( AGG_LIBRARIES ${AGG_LIBRARIES} CACHE STRING "Agg package libraries" FORCE )