Skip to content
Permalink
Browse files

Merge pull request #1861 from timlinux/master

This PR will allow FindQGIS.cmake to find QGIS libs/includes in QGIS_PREFIX_PATH too
  • Loading branch information
timlinux committed Feb 20, 2015
2 parents c69f153 + e1508c1 commit 34a6a368a8cd3e7a0c0310fc6e64cc7d0b14c542
Showing with 5 additions and 0 deletions.
  1. +5 −0 cmake/FindQGIS.cmake
@@ -84,6 +84,7 @@ ELSE(WIN32)
FIND_PATH(QGIS_PLUGIN_DIR
NAMES libspatialqueryplugin.so
PATHS
${QGIS_PREFIX_PATH}/lib/qgis/plugins/
/usr/lib64/qgis/plugins
/usr/lib/qgis
/usr/local/lib/qgis/plugins
@@ -94,6 +95,7 @@ ELSE(WIN32)
FIND_PATH(QGIS_INCLUDE_DIR
NAMES qgis.h
PATHS
{QGIS_PREFIX_PATH}/include/qgis
/usr/include/qgis
/usr/local/include/qgis
/Library/Frameworks/qgis_core.framework/Headers
@@ -123,6 +125,7 @@ ELSE(WIN32)
FIND_LIBRARY(QGIS_CORE_LIBRARY
NAMES qgis_core
PATHS
${QGIS_PREFIX_PATH}/lib/
/usr/lib64
/usr/lib
/usr/local/lib
@@ -133,6 +136,7 @@ ELSE(WIN32)
FIND_LIBRARY(QGIS_GUI_LIBRARY
NAMES qgis_gui
PATHS
${QGIS_PREFIX_PATH}/lib/
/usr/lib64
/usr/lib
/usr/local/lib
@@ -143,6 +147,7 @@ ELSE(WIN32)
FIND_LIBRARY(QGIS_ANALYSIS_LIBRARY
NAMES qgis_analysis
PATHS
${QGIS_PREFIX_PATH}/lib/
/usr/lib64
/usr/lib
/usr/local/lib

0 comments on commit 34a6a36

Please sign in to comment.
You can’t perform that action at this time.