Commit Graph

5 Commits

Author SHA1 Message Date
Scott Furry
543b98ec55 Enable build against external QCustomPlot (#1784)
* Enable build against external QCustomPlot

Source-base distribution has stand-alone QCustomPlot library package.
Feature request is to modify the build instructions to enable use of
external library, rather than building internal supplied library,
with cmd-line switch.

If unable to locate external library, fallback to building internal QCustomPlot.
Build internal is on by default.

* Enable build against external QCustomPlot #1784 - revised

Invert naming/logic:
FORCE_INTERNAL_QCUSTOMPLOT=ON(default) will build QCustomPlot library provided sources
(consistent with current processes)

FORCE_INTERNAL_QCUSTOMPLOT=OFF will search for external QCustomPlot library on system and
fall back to internal if not found.

[github #1784]
2019-03-06 12:29:42 +01:00
Scott Furry
b4af221ee1 Improve FindQScintilla.cmake functioning
Changes depend on successful find_package(Qt5...) call and when
building against external QScintilla.

Modified FindQScintilla.cmake providing extra hints of locations
to search for needed header files. Hints include paths based on
where Qt5 is installed. Presuming Unix/Linux distributions will
put QScintilla header files under Qt5 header folders.
2019-03-06 10:27:28 +01:00
Tien Do
4f939285fc refactor: find correct QScintilla package 2019-01-24 16:06:37 +07:00
Martin Kleusberg
c0d2e9131e Try using the system version of libscintilla2
See issue #832.
2017-01-20 18:57:20 +01:00
Pino Toscano
ae08f772a2 cmake: use an external antlr2 if available
Look for an installed antlr v2, and if available use it instead of its
embedded copy.
2015-05-03 15:44:42 +02:00