]> git.lyx.org Git - lyx.git/commitdiff
CMake: xvkbd: Compile fix if none of the libraries is found
authorVincent van Ravesteijn <vfr@lyx.org>
Tue, 23 Jul 2013 16:36:23 +0000 (18:36 +0200)
committerVincent van Ravesteijn <vfr@lyx.org>
Tue, 23 Jul 2013 17:04:56 +0000 (19:04 +0200)
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

index 10abf4c4470ce6ca219fbe48394032890ce62ec5..06fe4af05efe5a1f37f603e21de6bc7f00daea8d 100644 (file)
@@ -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)