Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Use offline editing plugin instead of spatial query for detecting plu…
- Loading branch information
Showing
with
3 additions
and
3 deletions.
-
+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 |
|
|