X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=development%2Fautotests%2FCMakeLists.txt;h=485e9767eee2aa6ecf2dcaf95cb1321bd23677b1;hb=d1a41a9bdc8da0ee402ecffc89079bcc92e6cf36;hp=0ad195f71cf96dcbbb3d0bfd1143188aec084dd9;hpb=9c55af4a223ce4db29d643251109e245665344bd;p=lyx.git diff --git a/development/autotests/CMakeLists.txt b/development/autotests/CMakeLists.txt index 0ad195f71c..485e9767ee 100644 --- a/development/autotests/CMakeLists.txt +++ b/development/autotests/CMakeLists.txt @@ -67,7 +67,7 @@ if(QT_USES_X11) message(STATUS "cmake build is therefore omitting keytests") endif() - if(Missing) + if(Missing OR NOT LYX_ENABLE_KEYTESTS) set(_runtest FALSE) else() project(keytest) @@ -105,6 +105,7 @@ if(QT_USES_X11) -DLYX_USERDIR_VER=${LYX_USERDIR_VER} -DKEYTEST_OUTFILE=${_t}-out.txt -DPACKAGE=${PACKAGE} + -DFRONTEND=${LYX_USE_QT} -DLOCALE_DIR=${LOCALE_DIR} -P ${TOP_SRC_DIR}/development/autotests/single-test.cmake) settestlabel(keytest/${_t} "key")