mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
CMake: xvkbd: Compile fix if none of the libraries is found
If no libraries are found, XVFBDLIBS is not initialized and the command "list(REMOVE_DUPLICATES XVFBDLIBS)" fails. So, initialize XVFBDLIBS beforehand.
This commit is contained in:
parent
d3c9f2e34c
commit
33aef1befe
@ -6,7 +6,7 @@
|
||||
|
||||
if(Q_WS_X11)
|
||||
set(Missing)
|
||||
set(XVFBDLIBS)
|
||||
set(XVFBDLIBS "")
|
||||
# Make sure, the needed programs are in PATH
|
||||
find_program(PCREGREP_EXE "pcregrep")
|
||||
if (NOT PCREGREP_EXE)
|
||||
|
Loading…
Reference in New Issue
Block a user