Merge pull request #641 from tehnick/fix-build-with-pkg-config
Fix build of gta plugin when pkg-config is used
This commit is contained in:
commit
b083eebb95
@ -33,7 +33,7 @@ IF(NOT GTA_FOUND)
|
|||||||
/usr/freeware/include
|
/usr/freeware/include
|
||||||
)
|
)
|
||||||
|
|
||||||
FIND_LIBRARY(GTA_LIBRARY
|
FIND_LIBRARY(GTA_LIBRARIES
|
||||||
NAMES gta libgta
|
NAMES gta libgta
|
||||||
PATHS
|
PATHS
|
||||||
$ENV{GTA_DIR}/lib
|
$ENV{GTA_DIR}/lib
|
||||||
@ -50,8 +50,8 @@ IF(NOT GTA_FOUND)
|
|||||||
)
|
)
|
||||||
|
|
||||||
SET(GTA_FOUND "NO")
|
SET(GTA_FOUND "NO")
|
||||||
IF(GTA_LIBRARY AND GTA_INCLUDE_DIRS)
|
IF(GTA_LIBRARIES AND GTA_INCLUDE_DIRS)
|
||||||
SET(GTA_FOUND "YES")
|
SET(GTA_FOUND "YES")
|
||||||
ENDIF(GTA_LIBRARY AND GTA_INCLUDE_DIRS)
|
ENDIF(GTA_LIBRARIES AND GTA_INCLUDE_DIRS)
|
||||||
|
|
||||||
ENDIF(NOT GTA_FOUND)
|
ENDIF(NOT GTA_FOUND)
|
@ -2,7 +2,7 @@ INCLUDE_DIRECTORIES( ${GTA_INCLUDE_DIRS} )
|
|||||||
|
|
||||||
SET(TARGET_SRC ReaderWriterGTA.cpp )
|
SET(TARGET_SRC ReaderWriterGTA.cpp )
|
||||||
|
|
||||||
SET(TARGET_LIBRARIES_VARS GTA_LIBRARY)
|
SET(TARGET_LIBRARIES_VARS GTA_LIBRARIES)
|
||||||
|
|
||||||
#### end var setup ###
|
#### end var setup ###
|
||||||
SETUP_PLUGIN(gta)
|
SETUP_PLUGIN(gta)
|
||||||
|
Loading…
Reference in New Issue
Block a user