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:
parent
c7a18cb501
commit
9761a02299
2 changed files with 4 additions and 4 deletions
|
@ -122,6 +122,7 @@ include_directories(
|
||||||
${Boost_INCLUDE_DIRS}
|
${Boost_INCLUDE_DIRS}
|
||||||
${ZLIB_INCLUDE_DIR}
|
${ZLIB_INCLUDE_DIR}
|
||||||
${SIMGEAR_INCLUDE_DIR}
|
${SIMGEAR_INCLUDE_DIR}
|
||||||
|
${GPC_INCLUDE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
include_directories(${PROJECT_SOURCE_DIR}/src)
|
include_directories(${PROJECT_SOURCE_DIR}/src)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
FIND_PATH(GPC_INCLUDE_DIR gpc.h
|
FIND_PATH(GPC_INCLUDE_DIR gpc.h
|
||||||
HINTS $ENV{GPC_DIR}
|
HINTS $ENV{GPC_DIR}
|
||||||
PATH_SUFFIXES include
|
PATH_SUFFIXES include include/gpcl
|
||||||
PATHS
|
PATHS
|
||||||
/usr/local
|
/usr/local
|
||||||
/usr
|
/usr
|
||||||
|
@ -10,9 +10,8 @@ FIND_PATH(GPC_INCLUDE_DIR gpc.h
|
||||||
|
|
||||||
|
|
||||||
FIND_LIBRARY(GPC_LIBRARY
|
FIND_LIBRARY(GPC_LIBRARY
|
||||||
NAMES genpolyclip gpc
|
NAMES genpolyclip gpc gpcl agggpc
|
||||||
HINTS
|
HINTS $ENV{GPC_DIR}
|
||||||
$ENV{GPC_DIR}
|
|
||||||
PATH_SUFFIXES lib64 lib libs64 libs libs/Win32 libs/Win64
|
PATH_SUFFIXES lib64 lib libs64 libs libs/Win32 libs/Win64
|
||||||
PATHS
|
PATHS
|
||||||
/usr/local
|
/usr/local
|
||||||
|
|
Loading…
Reference in a new issue