From: Vincent van Ravesteijn Date: Tue, 23 Jul 2013 16:36:23 +0000 (+0200) Subject: CMake: xvkbd: Compile fix if none of the libraries is found X-Git-Tag: 2.1.0beta2~217 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=33aef1befede724ec478a70f4e13675eff730d06;p=lyx.git 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. --- diff --git a/development/autotests/CMakeLists.txt b/development/autotests/CMakeLists.txt index 10abf4c447..06fe4af05e 100644 --- a/development/autotests/CMakeLists.txt +++ b/development/autotests/CMakeLists.txt @@ -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)