Skip to content
Permalink
Browse files

Use offline editing plugin instead of spatial query for detecting plu…

…gin path
  • Loading branch information
nyalldawson committed Sep 11, 2017
1 parent 3d3b6d1 commit 83f3a26f8e329512b5067b29683ded20d9f689ee
Showing with 3 additions and 3 deletions.
  1. +3 −3 cmake/FindQGIS.cmake
@@ -36,7 +36,7 @@ IF(WIN32)
#MESSAGE("Searching for QGIS in $ENV{PROGRAMFILES}/QGIS")
IF (MINGW)
FIND_PATH(QGIS_PLUGIN_DIR
NAMES libspatialqueryplugin.dll
NAMES libofflineeditingplugin.dll
PATHS
"$ENV{PROGRAMFILES}/QGIS/plugins"
)
@@ -59,7 +59,7 @@ IF(WIN32)

IF (MSVC)
FIND_PATH(QGIS_PLUGIN_DIR
NAMES spatialqueryplugin.dll
NAMES offlineeditingplugin.dll
PATHS
"$ENV{OSGEO4W_ROOT}/apps/${OSGEO4W_QGIS_SUBDIR}/plugins"
"$ENV{PROGRAMFILES}/QGIS/plugins"
@@ -105,7 +105,7 @@ ELSE(WIN32)
IF(UNIX)
#MESSAGE("Searching for QGIS in /usr/bin; /usr/local/bin")
FIND_PATH(QGIS_PLUGIN_DIR
NAMES libspatialqueryplugin.so
NAMES libofflineeditingplugin.so
PATHS
${QGIS_BUILD_PATH}/PlugIns/qgis
${QGIS_MAC_PATH}/PlugIns/qgis

0 comments on commit 83f3a26

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