]> git.lyx.org Git - features.git/commit
Cmake build: Correct configuration if set LYX_BUNDLE=ON
authorKornel Benko <kornel@lyx.org>
Sat, 30 Nov 2019 10:19:10 +0000 (11:19 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:46 +0000 (15:48 +0200)
commit9dff52251d511da4e66ad6770779cd6bd198f7e8
tree1c367fec9596e6750020e06bbab2e31bbd331f45
parente857b0127cd1afe74cd60a870529d454c0ebc5a8
Cmake build: Correct configuration if set LYX_BUNDLE=ON

Patch by Patrick (pdvisschere@edpnet.be)
Citing:
With some changes I could get it to work (patch included). One will also
have to define the locations of the Qt5-plugins and Qt5-libs folders
(`QT5_PLUGINS_DIR` and `QT5_LIBRARY_DIRS`).

Maybe not all plugins/imageformats are used/needed by lyx, but they are
all copied now, except for `_debug` versions which are excluded.
Starting with Qt-5.12 it seems not possible anymore (or at least not
easy) to link to the `_debug` versions of the qt5-frameworks (with
cmake). And installing them into the bundle also does not work. So right
now this is not a big loss.
development/cmake/post_install/CMakeLists.txt