1
0
Fork 0

gpc.h should be in the include list.

Add some more variants of the gpc libs name to pick it up on different distros
This commit is contained in:
Christian Schmitt 2012-08-02 20:32:45 +02:00
parent c7a18cb501
commit 9761a02299
2 changed files with 4 additions and 4 deletions

View file

@ -122,6 +122,7 @@ include_directories(
${Boost_INCLUDE_DIRS}
${ZLIB_INCLUDE_DIR}
${SIMGEAR_INCLUDE_DIR}
${GPC_INCLUDE_DIR}
)
include_directories(${PROJECT_SOURCE_DIR}/src)

View file

@ -1,7 +1,7 @@
FIND_PATH(GPC_INCLUDE_DIR gpc.h
HINTS $ENV{GPC_DIR}
PATH_SUFFIXES include
PATH_SUFFIXES include include/gpcl
PATHS
/usr/local
/usr
@ -10,9 +10,8 @@ FIND_PATH(GPC_INCLUDE_DIR gpc.h
FIND_LIBRARY(GPC_LIBRARY
NAMES genpolyclip gpc
HINTS
$ENV{GPC_DIR}
NAMES genpolyclip gpc gpcl agggpc
HINTS $ENV{GPC_DIR}
PATH_SUFFIXES lib64 lib libs64 libs libs/Win32 libs/Win64
PATHS
/usr/local