Permalink
Browse files

Merge pull request #641 from tehnick/fix-build-with-pkg-config

Fix build of gta plugin when pkg-config is used
  • Loading branch information...
openscenegraph committed Oct 10, 2018
2 parents 83e51f1 + 129761e commit b083eebb9575fd906bdb309f75bd68b87a71f531
Showing with 4 additions and 4 deletions.
  1. +3 −3 CMakeModules/FindGTA.cmake
  2. +1 −1 src/osgPlugins/gta/CMakeLists.txt
@@ -33,7 +33,7 @@ IF(NOT GTA_FOUND)
/usr/freeware/include
)
FIND_LIBRARY(GTA_LIBRARY
FIND_LIBRARY(GTA_LIBRARIES
NAMES gta libgta
PATHS
$ENV{GTA_DIR}/lib
@@ -50,8 +50,8 @@ IF(NOT GTA_FOUND)
)
SET(GTA_FOUND "NO")
IF(GTA_LIBRARY AND GTA_INCLUDE_DIRS)
IF(GTA_LIBRARIES AND GTA_INCLUDE_DIRS)
SET(GTA_FOUND "YES")
ENDIF(GTA_LIBRARY AND GTA_INCLUDE_DIRS)
ENDIF(GTA_LIBRARIES AND GTA_INCLUDE_DIRS)
ENDIF(NOT GTA_FOUND)
@@ -2,7 +2,7 @@ INCLUDE_DIRECTORIES( ${GTA_INCLUDE_DIRS} )
SET(TARGET_SRC ReaderWriterGTA.cpp )
SET(TARGET_LIBRARIES_VARS GTA_LIBRARY)
SET(TARGET_LIBRARIES_VARS GTA_LIBRARIES)
#### end var setup ###
SETUP_PLUGIN(gta)

0 comments on commit b083eeb

Please sign in to comment.