spatialindex includes in subfolder, not found by qgis #15119
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Build/Install
Related to compiling or installing QGIS
Author Name: William Kyngesburye (@kyngchaos)
Original Redmine Issue: 5517
Affected QGIS version: master
Redmine category:build/install
The standard spatialindex installation places its headers in a subfolder of $prefix/include, ie @/usr/local/include/spatialindex/@. The cmake FindSpatialitindex does not check for this, but I'm not sure if that is broken, as I am installing in a non-standard location.
But, qgsspatialindex.cpp also does not include from the subfolder. A leftover from when spatialindex was included in the source and didn't have the subfolder. Changing the qgsspatialindex.cpp include to:
fixes the include problem. The findspatialindex.cmake probably needs a similar fix.
The text was updated successfully, but these errors were encountered: