From: Stephan Witt Date: Thu, 13 Dec 2012 19:54:05 +0000 (+0100) Subject: guard autotests with X11 window system check result X-Git-Tag: 2.1.0beta1~1112 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=1dcb70a12f82ab6c3d1b64507ad68c23fce1c277;p=features.git guard autotests with X11 window system check result --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 61777ef02e..0b2fd243eb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -716,7 +716,10 @@ if(LYX_INSTALL) endif() add_subdirectory(sourcedoc "${TOP_BINARY_DIR}/sourcedoc") -add_subdirectory(development/autotests "${TOP_BINARY_DIR}/autotests") +if(Q_WS_X11) + message(STATUS "Adding auto test...") + add_subdirectory(development/autotests "${TOP_BINARY_DIR}/autotests") +endif() message(STATUS) message(STATUS "Build options, switch LYX_* variables by -DLYX_*=ON or OFF:")