From 33aef1befede724ec478a70f4e13675eff730d06 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Tue, 23 Jul 2013 18:36:23 +0200 Subject: [PATCH] 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. --- development/autotests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5