Add support for building against system libraries of libserialport an…#36
Add support for building against system libraries of libserialport an…#36schdro wants to merge 9 commits intopine64:masterfrom
Conversation
Avoid including include dir when building against system lib (to avoid possible dup when also checked out as submodule). Refine README description.
|
@schdro If you can rebase this I'm happy for this to go in :) |
Allows installation with: `cmake --install . [--prefix /dir]`
|
Hmm, rebase seems to break PR (pulling in old commits), closing for now. |
|
Damn sorry; if you can get it working I would be keen to add it. Would be ideal to also build with system libs in ci if we can, to try and make sure it works. |
|
ok, understood For Ubuntu (CI) unsure if they already have syslibs in place. Might then mean to somehow install other packages first. The change certainly is interesting, because should allow to build e.g. for source based dists, where binaries and submodule downloads by the build are undesired (e.g. Gentoo sandbox by default disables unmanaged build downloads). Using it here as local Gentoo ebuild, sys-apps/blisp + dev-libs/argtable-3.2.2 + dev-libs/libserialport. ArchLinux might be similar. |
Allow building against existing system libraries of libserialport and argtable.
By default (new variable unset), still prepackages vendor libraries should be used for build.
Proposal to fix created issue:
Resolves #35