]> git.lyx.org Git - features.git/commit
CMake build: find enchant 2.x binary and lib
authorScott Kostyshak <skostysh@lyx.org>
Fri, 13 Mar 2020 02:36:49 +0000 (22:36 -0400)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:53 +0000 (15:48 +0200)
commit2876b2156f354bac01e68d291f8fb2a0157ceb93
tree3942082e96df06e471c02473cb9ee732f43e488d
parent8658f302aee58d56242204aba226198e079c89ec
CMake build: find enchant 2.x binary and lib

For example, see the Fedora file lists for the package
enchant2-devel [1] as well as the Debian Sid file lists for the
packages libenchant-2-dev [2] and enchant-2 [3]. The packages for
Ubuntu 20.04 are similar. Our autotools build has had support for
finding enchant 2.x since 71977769.

Searching for enchant-2 first is consistent with what we do for
autotools (see 1ae537c5).

This commit is related to #10986.

[1] https://www.lyx.org/trac/ticket/10986#comment:28
[2] https://packages.debian.org/sid/amd64/libenchant-2-dev/filelist
[3] https://packages.debian.org/sid/amd64/enchant-2/filelist
development/cmake/modules/FindENCHANT.cmake