Rasbats / vfkaps_pi

OpenCPN plugin for downloading Venture Farther KAPs
GNU General Public License v3.0
1 stars 5 forks source link

FS#2698 - Many plugins cannot compile with new PluginConfigure.cmake requiring to run from a git repo #6

Open dominig opened 4 years ago

dominig commented 4 years ago

FS#2698 - Many plugins cannot compile with new PluginConfigure.cmake requiring to run from a git repo

The new version of PluginConfigure.cmake file written by John Gaugh and reused for several plugins (see list bellow) requires the build to be run fro ma git valid repo. When building packages in the distro system (my case Open Build System from OpenSUSE), the source used for the build is a copy and not a valid git repo, so the cmake fails miserably.

Having at least an option to deactivate that feature to allow and off git build is required.

Could we have a clean solution to by overcome that feature when not needded ?

Thanks.

Dominig

OpenCPN-DR_pi OpenCPN-nmeaconverter_pi OpenCPN-ocpn_draw_pi OpenCPN-photolayer_pi OpenCPN-UKTides_pi OpenCPN-vfkaps_pi

Rasbats commented 4 years ago

Branch 2.1.1-legacy has the same code.

rgleason commented 4 years ago

doming see this

https://github.com/Rasbats/DR_pi/issues/8#issuecomment-681059974