Skip to content

Commit

Permalink
Merge pull request #671 from Vedingrot/debundle_flexpolyline
Browse files Browse the repository at this point in the history
Added USE_BUNDLED_FLEXPOLYLINE option.
  • Loading branch information
rinigus authored Feb 18, 2024
2 parents 4b96fae + d0dc10a commit af8e5c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ set(S2INCLUDES "" CACHE STRING "Custom installed location for s2geometry, includ
set(S2LIBS "" CACHE STRING "Custom installed location for s2geometry, libs")
option(USE_BUNDLED_GPXPY "Use a bundled version of GPXPY rather than a system-wide version" ON)
option(USE_BUNDLED_GEOMAG "Use a bundled version of geomag rather than a system-wide version" ON)
option(USE_BUNDLED_FLEXPOLYLINE "Use a bundled version of flexible-polyline rather than a system-wide version" ON)
option(USE_BUNDLED_GEOCLUE2 "Use a bundled version of Geoclue2 Qt plugin with bugfixes" OFF)
set(QML_IMPORT_PATH "" CACHE STRING "Additional QML import path")

Expand Down
6 changes: 4 additions & 2 deletions thirdparty/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ if(USE_BUNDLED_GEOMAG)
DESTINATION ${DATADIR}/poor/geomag/model_data)
endif()

file(GLOB FLEXPOLYLINE_SRC LIST_DIRECTORIES false flexible-polyline/python/flexpolyline/*.py)
install(FILES ${FLEXPOLYLINE_SRC} DESTINATION ${DATADIR}/poor/flexpolyline)
if(USE_BUNDLED_FLEXPOLYLINE)
file(GLOB FLEXPOLYLINE_SRC LIST_DIRECTORIES false flexible-polyline/python/flexpolyline/*.py)
install(FILES ${FLEXPOLYLINE_SRC} DESTINATION ${DATADIR}/poor/flexpolyline)
endif()

if(USE_BUNDLED_GPXPY)
file(GLOB GPXPY_SRC LIST_DIRECTORIES false gpxpy/gpxpy/*.py)
Expand Down

0 comments on commit af8e5c1

Please sign in to comment.