]> 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)
committerKornel Benko <kornel@lyx.org>
Sat, 30 Nov 2019 10:19:10 +0000 (11:19 +0100)
commit201acf027911f924ba17da93ce0caa4ec44fc982
tree2766c134cb62171e82e29a479b074d5b4d947976
parent8181c88c2888701769a960dc6e2995ebfd181146
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