2011-08-31 16:12:56 +00:00
|
|
|
|
|
|
|
FIND_PATH(GPC_INCLUDE_DIR gpc.h
|
|
|
|
HINTS $ENV{GPC_DIR}
|
2012-08-02 18:32:45 +00:00
|
|
|
PATH_SUFFIXES include include/gpcl
|
2011-08-31 16:12:56 +00:00
|
|
|
PATHS
|
|
|
|
/usr/local
|
|
|
|
/usr
|
|
|
|
/opt
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
FIND_LIBRARY(GPC_LIBRARY
|
2012-08-02 18:32:45 +00:00
|
|
|
NAMES genpolyclip gpc gpcl agggpc
|
|
|
|
HINTS $ENV{GPC_DIR}
|
2011-08-31 16:12:56 +00:00
|
|
|
PATH_SUFFIXES lib64 lib libs64 libs libs/Win32 libs/Win64
|
|
|
|
PATHS
|
|
|
|
/usr/local
|
|
|
|
/usr
|
|
|
|
/opt
|
|
|
|
)
|
|
|
|
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
|
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GPC DEFAULT_MSG
|
|
|
|
GPC_LIBRARY GPC_INCLUDE_DIR)
|